File not downloading from Firebase

Viewed 17

There is my code (attempts to download a file from the storage) The code passes without errors, but the file simply does not download, what's the problem? P.s I have everything in the config, the link is correct and the path to the folder is also (reinsurance)

import pyrebase
config = {"apiKey": "BrhsWOc",
  "databaseURL": "",
  "authDomain": ".firebaseapp.com",
  "projectId": "5",
  "storageBucket": ".appspot.com",
  "messagingSenderId": "860",
  "serviceAccount": "service.json"}

firebase = pyrebase.initialize_app(config)
storage = firebase.storage()
files = storage.list_files()
storage.child('<Blob: .appspot.com, 349a4f6c9a-1-T4H32.zip>').download( 'dnd.zip','/Users/name/Documents/pythonParser1')
0 Answers
Related