Android Question Firebase Storage Downloaded Image With Zero Size

Richard Goh

Active Member
Licensed User
Longtime User
I uploaded some images (jpg) into Firebase Storage (using the sample program) successfully and I can view the file in the firebase console. When I do a jpg file download (using below code). The file was downloaded with 0 size. Any advice on this?

B4X:
Starter.storage.DownloadFile("/img/" & imgfile, imgDir, imgfile)

Thank you.
 

karld

Active Member
Licensed User
Longtime User
Do you have the image dir listed in your bucket?
That was the issue I had. Don't list it in the bucket.
 
Upvote 0

Richard Goh

Active Member
Licensed User
Longtime User
It's resolved. It's the invalid filename been entered. Sorry for the silly mistake.
Thanks for the reply.
 
Upvote 0
Top