Cannot change filename on upload

Hi all,

I’m using an API to generate PDF’s for my application. I send a JSON and the API responds with a PDF file. I am able to save this result as file to the bubble storage, however i am not able to rename the file on upload (the “new file name” function is ignored). The file saves without an extension, in the file manager the type is set correctly to application/pdf.

The problem is i now get 1000’s of files with the same name in the storage, i would like to rename them and give them a unique identificator.

I have contacted bubble support about this. Only to get a reply that this is behavior as expected, and that i should look around for a custom file uploader developed by a community member to fix this.

I hope any of you have suggestions on a solution or plugin i could use in backend workflows to resolve this.

Thanks for your help!

You can use this plugin

(if file is not too large… but a PDF should be fine)

1 Like

Hi Jici,

Thanks a lot. Althoug a bit slower, this seems to work good!

J

1 Like