How to download entire folder from Firebase Storage?

前端 未结 2 1099
灰色年华
灰色年华 2020-12-09 02:19

I want to download an entire folder from Firebase storage. I can download single files using DownloadURL as follows, but it does not work for folders.



        
相关标签:
2条回答
  • 2020-12-09 02:34

    There is no API in Firebase Storage to download all files in a folder. You will have to download the files one by one, or create a zip file that contains all the files.

    Related:

    • How to get an array with all pictures?
    0 讨论(0)
  • 2020-12-09 02:38

    You can use gsutil to download the whole storage bucket

    gsutil -m cp -R gs://<bucket_name> .
    
    0 讨论(0)
提交回复
热议问题