How to take a list of DownloadURLs and donwload a .ZIP folder of all the files from Firebase StorageHow to download entire folder from Firebase Storage?How to create a folder in Firebase Storage?Upload files to Firebase Storage using Node.jsHow to download entire folder from Firebase Storage?get download url from multiple file upload firebase storageUnzip file at Firebase storageFirebase Storage Downloadurl Custom DomainFirebase Storage: Is it possible to auto - delete old files?Can I zip files in Firebase Storage via Firebase Cloud Functions?How to download folders (including files) in firebase storage with cloud functions in zip format and download them locallyHow to list files and folders in Firebase Storage
What are the moistened wrapped towelettes called in restaurants?
Youtube not blocked by iptables
Why is 6. Nge2 better, and 7. d5 a nessecary push in this game?
Global Frame of Reference in General Relativity
Is differentiation as a map discontinuous?
Subverting the emotional woman and stoic man trope
A file manager to open a zip file like opening a folder, instead of extract it by using a archive manager
Why are there two fundamental laws of logic?
Golf (6-card) Golf!
How to say "cheat sheet" in French
what should be done first, handling missing data or dealing with data types?
My Project Manager does not accept carry-over in Scrum, Is that normal?
1, 2, 4, 8, 16, ... 33?
Why was LOGO created?
What exactly did this mechanic sabotage on the American Airlines 737, and how dangerous was it?
Comma Code - Automate the Boring Stuff with Python
A food item only made possible by time-freezing storage?
Do we know the situation in Britain before Sealion (summer 1940)?
Is it a good idea to leave minor world details to the reader's imagination?
Where is Google's internal account authentication token located?
Labview vs Matlab??Which one better for image processing?
Difference between types of yeast
OSM Thunderforest API keys in QGIS3
Why did UK NHS pay for homeopathic treatments?
How to take a list of DownloadURLs and donwload a .ZIP folder of all the files from Firebase Storage
How to download entire folder from Firebase Storage?How to create a folder in Firebase Storage?Upload files to Firebase Storage using Node.jsHow to download entire folder from Firebase Storage?get download url from multiple file upload firebase storageUnzip file at Firebase storageFirebase Storage Downloadurl Custom DomainFirebase Storage: Is it possible to auto - delete old files?Can I zip files in Firebase Storage via Firebase Cloud Functions?How to download folders (including files) in firebase storage with cloud functions in zip format and download them locallyHow to list files and folders in Firebase Storage
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I have many files in folders and subfolders in my Firebase Storage bucket.
I have a list of DownloadURLs of all of these files in my Realtime Firebase Database.
I'm trying to do a bulk download, ideally creating a .ZIP folder for the end user to download at once.
Several other posts (eg How to download entire folder from Firebase Storage?) note that there is no built in API to do bulk downloads, such as downloading an entire folder from a bucket. As far as I know this has not changed.
However a related answer (How to download entire folder from Firebase Storage?) suggests that creating a .ZIP folder may be possible, but does not elaborate on how.
How can I either...
... A) use pure JS on the client side to allow the end user to collect all the DownloadURLs and download the files at once?...
...OR...
... B) Use a Cloud Function written in Node.JS to use the DownloadURLs to create a .ZIP file that can be downloaded by the end user as one file. (I'm assuming a .ZIP file can be stored in the Storage bucket as another file with its own DownloadURL and be downloaded like any other file, then unzipped locally and all the original files be extracted. Please correct me if this is not the case)
... Or are neither of those approaches feasible? If not why, what functionality is missing?
Thanks in advance for any insights!
node.js firebase firebase-storage
add a comment
|
I have many files in folders and subfolders in my Firebase Storage bucket.
I have a list of DownloadURLs of all of these files in my Realtime Firebase Database.
I'm trying to do a bulk download, ideally creating a .ZIP folder for the end user to download at once.
Several other posts (eg How to download entire folder from Firebase Storage?) note that there is no built in API to do bulk downloads, such as downloading an entire folder from a bucket. As far as I know this has not changed.
However a related answer (How to download entire folder from Firebase Storage?) suggests that creating a .ZIP folder may be possible, but does not elaborate on how.
How can I either...
... A) use pure JS on the client side to allow the end user to collect all the DownloadURLs and download the files at once?...
...OR...
... B) Use a Cloud Function written in Node.JS to use the DownloadURLs to create a .ZIP file that can be downloaded by the end user as one file. (I'm assuming a .ZIP file can be stored in the Storage bucket as another file with its own DownloadURL and be downloaded like any other file, then unzipped locally and all the original files be extracted. Please correct me if this is not the case)
... Or are neither of those approaches feasible? If not why, what functionality is missing?
Thanks in advance for any insights!
node.js firebase firebase-storage
add a comment
|
I have many files in folders and subfolders in my Firebase Storage bucket.
I have a list of DownloadURLs of all of these files in my Realtime Firebase Database.
I'm trying to do a bulk download, ideally creating a .ZIP folder for the end user to download at once.
Several other posts (eg How to download entire folder from Firebase Storage?) note that there is no built in API to do bulk downloads, such as downloading an entire folder from a bucket. As far as I know this has not changed.
However a related answer (How to download entire folder from Firebase Storage?) suggests that creating a .ZIP folder may be possible, but does not elaborate on how.
How can I either...
... A) use pure JS on the client side to allow the end user to collect all the DownloadURLs and download the files at once?...
...OR...
... B) Use a Cloud Function written in Node.JS to use the DownloadURLs to create a .ZIP file that can be downloaded by the end user as one file. (I'm assuming a .ZIP file can be stored in the Storage bucket as another file with its own DownloadURL and be downloaded like any other file, then unzipped locally and all the original files be extracted. Please correct me if this is not the case)
... Or are neither of those approaches feasible? If not why, what functionality is missing?
Thanks in advance for any insights!
node.js firebase firebase-storage
I have many files in folders and subfolders in my Firebase Storage bucket.
I have a list of DownloadURLs of all of these files in my Realtime Firebase Database.
I'm trying to do a bulk download, ideally creating a .ZIP folder for the end user to download at once.
Several other posts (eg How to download entire folder from Firebase Storage?) note that there is no built in API to do bulk downloads, such as downloading an entire folder from a bucket. As far as I know this has not changed.
However a related answer (How to download entire folder from Firebase Storage?) suggests that creating a .ZIP folder may be possible, but does not elaborate on how.
How can I either...
... A) use pure JS on the client side to allow the end user to collect all the DownloadURLs and download the files at once?...
...OR...
... B) Use a Cloud Function written in Node.JS to use the DownloadURLs to create a .ZIP file that can be downloaded by the end user as one file. (I'm assuming a .ZIP file can be stored in the Storage bucket as another file with its own DownloadURL and be downloaded like any other file, then unzipped locally and all the original files be extracted. Please correct me if this is not the case)
... Or are neither of those approaches feasible? If not why, what functionality is missing?
Thanks in advance for any insights!
node.js firebase firebase-storage
node.js firebase firebase-storage
asked Mar 28 at 17:32
JonathanJonathan
86 bronze badges
86 bronze badges
add a comment
|
add a comment
|
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55403701%2fhow-to-take-a-list-of-downloadurls-and-donwload-a-zip-folder-of-all-the-files-f%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55403701%2fhow-to-take-a-list-of-downloadurls-and-donwload-a-zip-folder-of-all-the-files-f%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown