# Upload Audio File with rename

**URL:** <https://discourse.nodered.org/t/upload-audio-file-with-rename/33757>\
**Category:** General\
**Created:** [5 October 2020 08:16 UTC](https://discourse.nodered.org/t/upload-audio-file-with-rename/33757 "2020-10-05T08:16:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![munesh90](https://avatars.discourse-cdn.com/v4/letter/m/f4b2a3/32.png) [@munesh90](https://discourse.nodered.org/u/munesh90)\
**Post date:** [5 October 2020 08:16 UTC](https://discourse.nodered.org/t/upload-audio-file-with-rename/33757/1 "2020-10-05T08:16:33Z")

</div>

i want to upload a audio file with rename in node-red ?

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [5 October 2020 08:45 UTC](https://discourse.nodered.org/t/upload-audio-file-with-rename/33757/2 "2020-10-05T08:45:06Z")

</div>

Hi @munesh90

You can configure an HTTP In node to accept file uploads when the method is set to PUT.

The sidebar help describes what the message properties will look like when it receives a file upload - or you can use a Debug node to see if for yourself.

The message will contain the raw data of the file - you can then pass that to a File Out node to write it using whatever filename you'd like.

---

<div class="post-metadata">

**Author:** ![munesh90](https://avatars.discourse-cdn.com/v4/letter/m/f4b2a3/32.png) [@munesh90](https://discourse.nodered.org/u/munesh90)\
**Post date:** [5 October 2020 09:11 UTC](https://discourse.nodered.org/t/upload-audio-file-with-rename/33757/3 "2020-10-05T09:11:18Z")

</div>

> [@knolleary](#):
>
> PUT

Thank you for your reply let me try that one

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [4 December 2020 09:11 UTC](https://discourse.nodered.org/t/upload-audio-file-with-rename/33757/4 "2020-12-04T09:11:28Z")

</div>

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