I am trying download a specific picture named ‘giuitarplay.jpg’ from my firebase storage bucket but for some reasons the program runs without any errors but no file is actually getting downloaded.
highlighting the storage.child function where I have written the filename on the cloud which is guitarplay.jpg and in the download func mentioned the path and filename i want to download as on my local machine, even though everything matches I can’t get it to work, please help. I have also attached the code files and the firebase storage screenshot (hiding the config details intentionally)
`import pyrebase
config = {
‘apiKey’: “AJju*****”,
‘authDomain’: “test1-6eapp.com”,
‘databaseURL’: “https://te1sia-southeast1.firebasedatabase.app”,
‘projectId’: “tes5e”,
‘storageBucket’: “te****m”,
‘serviceAccount’: “serviceAccountKey.json”
}
firebase_storage = pyrebase.initialize_app(config)
storage = firebase_storage.storage()
storage.child(“guitarplay.jpg”).download(path=”C:/Users/subha/OneDrive/Documents/HSMS_obj” , filename=”nouser.jpg”)`
I tried download the photo from firebase but ended up download absolutely nothing