# HTTP Get a file - original filename

**URL:** https://community.make.com/t/http-get-a-file-original-filename/59115
**Category:** Questions
**Tags:** open-ai, file-upload
**Created:** [October 29, 2024, 12:29pm UTC](https://community.make.com/t/http-get-a-file-original-filename/59115 "2024-10-29T12:29:29Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![longhand](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/longhand/32/53435_2.png) [@longhand](https://community.make.com/u/longhand)
#### Post date: [October 29, 2024, 12:29pm UTC](https://community.make.com/t/http-get-a-file-original-filename/59115/1 "2024-10-29T12:29:29Z")

</div>

Hi,

I download a PDF file using the HTTP Get module, then upload this file to OpenAI Vector Store via OpenAI module.  
What is the easiest way to use the original name of the file or a unique name and not the version automatically renamed by the HTTP Get module (file.pdf)?  
(unfortunately there is no mapping option in the OpenAI module using unique filename and passing file data in other field)  
Thank you very much in advance for any suggestions.

---

<div class="post-metadata">

### Author: ![longhand](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/longhand/32/53435_2.png) [@longhand](https://community.make.com/u/longhand)
#### Post date: [October 30, 2024, 7:23am UTC](https://community.make.com/t/http-get-a-file-original-filename/59115/2 "2024-10-30T07:23:08Z")

</div>

In the meantime, I solved the problem by uploading the file with a separate OpenAI module, not directly with the one I use to create the Vector Store. This way it works with mapping for custom naming.

---

<div class="post-metadata">

### Author: ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)
#### Post date: [November 13, 2024, 7:27am UTC](https://community.make.com/t/http-get-a-file-original-filename/59115/3 "2024-11-13T07:27:09Z")

</div>


