nhorvath / Pyrebase4

A simple python wrapper for the Firebase API. ⛺
248 stars 61 forks source link

Firebase Storage - Download Path #53

Closed arncode90 closed 1 year ago

arncode90 commented 1 year ago

Make sure these boxes are checked before submitting your issue:

storage.child(#firebse-file-path-location).download(filename='#local-path-location', path='#?')

What is "path" do/refer to in download method?

Thank you for helping make Pyrebase better!

nhorvath commented 1 year ago

the download method is download(path="/save/path", filename="save-file.ext") filename should not contain path components.

AsifArmanRahman commented 1 year ago

the download method is download(path="/save/path", filename="save-file.ext") filename should not contain path components.

Sorry to inform you that your explanation is incorrect. path parameter is actually used as firebase-file-path-location only when using it with service credentials, otherwise it is a parameter that is not used.