Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Upload folder(s) on firebase - javascript

Can we upload empty folders or simply folders who contains many files in it on the firebase storage ?

Because actually i can upload one files but too, multiples files, but i didn't find how to do it with folders.

like image 558
Zahreddine Laidi Avatar asked Oct 03 '18 12:10

Zahreddine Laidi


2 Answers

I'd suggest you to go to Google Cloud (Firebase projects live in the Google Cloud as well), and check your storage buckets there. You'll be able to see an upload folder option there, which you can use to upload folders through a GUI. You can drag and drop multiple folders if you wish.

like image 175
Raj Kunkolienkar Avatar answered Oct 13 '22 16:10

Raj Kunkolienkar


There is no way to upload an entire folder to Cloud Storage for Firebase in one go. You will have to upload the individual files in the folder.

The is no concept of an empty folder in Cloud Storage for Firebase. Folders only exist by the fact that they have files in them.

Also see:

  • Retrieve multiple photos under a node from Firebase Storage
  • How can i upload multiple files to firebase storage at once?
  • How to upload multiple files to Firebase?
like image 22
Frank van Puffelen Avatar answered Oct 13 '22 15:10

Frank van Puffelen