# Access files from outside nodered

**URL:** <https://discourse.nodered.org/t/access-files-from-outside-nodered/91251>\
**Category:** General\
**Created:** [25 September 2024 11:49 UTC](https://discourse.nodered.org/t/access-files-from-outside-nodered/91251 "2024-09-25T11:49:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![f3rpand0](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/f3rpand0/32/94871_2.png) [@f3rpand0](https://discourse.nodered.org/u/f3rpand0)\
**Post date:** [25 September 2024 11:49 UTC](https://discourse.nodered.org/t/access-files-from-outside-nodered/91251/1 "2024-09-25T11:49:47Z")

</div>

Hello,  
I have an HTLM node that gets a binary file as a repsonse.  
The file is located in something like:

```auto
/data/folder/file.mp3

```

Is there a way to get access to that file from outside nodered? (same network)  
With http request for example. Something like:

```auto
http://nodered_ip/data/file.mp3

```

That does not work by the way.

Thanks in advance

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [25 September 2024 11:54 UTC](https://discourse.nodered.org/t/access-files-from-outside-nodered/91251/2 "2024-09-25T11:54:33Z")

</div>

You can use http endpoints to server file [Serve a local file : Node-RED](https://cookbook.nodered.org/http/serve-a-local-file). You then make a http request to the endpoint, the endpoint flow can then make a http request to get your file and return it with the http response node.

[edit]  
You can also server files from a http static folder [Configuration : Node-RED](https://nodered.org/docs/user-guide/runtime/configuration).

---

<div class="post-metadata">

**Author:** ![f3rpand0](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/f3rpand0/32/94871_2.png) [@f3rpand0](https://discourse.nodered.org/u/f3rpand0)\
**Post date:** [25 September 2024 12:06 UTC](https://discourse.nodered.org/t/access-files-from-outside-nodered/91251/3 "2024-09-25T12:06:26Z")

</div>

Will give that a try.  
Thank you

---

<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:** [24 December 2024 12:07 UTC](https://discourse.nodered.org/t/access-files-from-outside-nodered/91251/4 "2024-12-24T12:07:08Z")

</div>

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