# Cannot change filename on upload

**URL:** <https://forum.bubble.io/t/cannot-change-filename-on-upload/360264>\
**Category:** APIs\
**Created:** [February 19, 2025, 1:05pm UTC](https://forum.bubble.io/t/cannot-change-filename-on-upload/360264 "2025-02-19T13:05:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![johan5](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@johan5](https://forum.bubble.io/u/johan5)\
**Post date:** [February 19, 2025, 1:05pm UTC](https://forum.bubble.io/t/cannot-change-filename-on-upload/360264/1 "2025-02-19T13:05:04Z")

</div>

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!

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/2/7/277de10df0481f140792143c08d99b63a4c1b56b.png)

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/f/d/fd4a3c9b9c7ad7aff16438df38f012a0b887c91d.png)

---

<div class="post-metadata">

**Author:** ![Jici](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jici/32/30722_2.png) [@Jici](https://forum.bubble.io/u/Jici)\
**Post date:** [February 19, 2025, 1:09pm UTC](https://forum.bubble.io/t/cannot-change-filename-on-upload/360264/2 "2025-02-19T13:09:07Z")

</div>

You can use this plugin

> **[Templates for Bubble](https://bubble.io/plugin/file-uploader-bubble-api-1628816507621x527883429883936800)**
>
> Buy and sell Bubble templates to speed up app development. Bubble is a visual programing language that lets you build apps without code.

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

---

<div class="post-metadata">

**Author:** ![johan5](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@johan5](https://forum.bubble.io/u/johan5)\
**Post date:** [February 19, 2025, 1:52pm UTC](https://forum.bubble.io/t/cannot-change-filename-on-upload/360264/3 "2025-02-19T13:52:08Z")

</div>

Hi Jici,

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

J
