How to upload a file to Firebase and keep the file name

Hello - I'm trying to add functionality that allows for the upload of a pdf or .doc or .docx file to Firebase.

Since I need to allow users to download this document later, I need the file name retained.

The problem is, when a file is uploaded, it loses the name. So if someone uploads a PDF named "lease.pdf", when they come to download it later it says "12314234.pdf"

My question is, does anyone have a custom action built that can retain the file's name on upload?

I'm not a developer, so any help would be greatly appreciated.

Thank you!

4
15 replies