# One file post by many filenames

**URL:** <https://community.postman.com/t/one-file-post-by-many-filenames/64588>\
**Category:** Help Hub\
**Tags:** file\
**Created:** [July 25, 2024, 10:34pm UTC](https://community.postman.com/t/one-file-post-by-many-filenames/64588 "2024-07-25T22:34:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![research-engineer-21](https://avatars.discourse-cdn.com/v4/letter/r/8edcca/32.png) [@research-engineer-21](https://community.postman.com/u/research-engineer-21)\
**Post date:** [July 25, 2024, 10:34pm UTC](https://community.postman.com/t/one-file-post-by-many-filenames/64588/1 "2024-07-25T22:34:08Z")

</div>

Hi!  
I was looking for an answer on the forum, but it seems that this question hasn’t been asked.  
I have one file, let’s say it’s “test0001.pdf”. I would like to use it in a test multiple times. The server accept only unique filenames. Is there a solution to upload the same one file but in different filename during next test?

---

<div class="post-metadata">

**Author:** ![michaelderekjones](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/michaelderekjones/32/14819_2.png) [@michaelderekjones](https://community.postman.com/u/michaelderekjones)\
**Post date:** [July 27, 2024, 1:18pm UTC](https://community.postman.com/t/one-file-post-by-many-filenames/64588/2 "2024-07-27T13:18:38Z")

</div>

I don’t think you can do this within the desktop or web applications.

You could use Newman as a node.js library and also include the filesystem libraries which would allow you to manipulate the filenames. (NB: Requires a decent understanding of JavaScript).

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [August 26, 2024, 1:18pm UTC](https://community.postman.com/t/one-file-post-by-many-filenames/64588/3 "2024-08-26T13:18:40Z")

</div>

Closed on August 26, 2024, 1:18pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
