I am using firebase storage to try and store user profile pictures. I am then downloading them from the database to my static/uploads folder, like in many flask examples, then using that to display a user's profile picture. I am using pyrebase 4 to download the picture from my firebase storage; however, whenever I try to download it, the file goes it the '/' path instead of my 'static/uploads folder'. I am specifying how to download it like this
storage.child(user + "/profilepicture.png").download(path="/static/uploads", filename=user + ".png")
I am not really sure what I am doing wrong, shouldn't it be going to the path I specified? The pyrebase documentation doesn't tell you how to specify the path. I am a bit confused.