# Refer in node to flows location / Serve files from flows location

**URL:** <https://discourse.nodered.org/t/refer-in-node-to-flows-location-serve-files-from-flows-location/82835>\
**Category:** General\
**Created:** [13 November 2023 16:24 UTC](https://discourse.nodered.org/t/refer-in-node-to-flows-location-serve-files-from-flows-location/82835 "2023-11-13T16:24:02Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [13 November 2023 16:46 UTC](https://discourse.nodered.org/t/refer-in-node-to-flows-location-serve-files-from-flows-location/82835/2 "2023-11-13T16:46:26Z")

</div>

> [@BitEater](#):
>
> My Flows file is versioned in git and it would make sense to have all the other files in git.

What other files?

> [@BitEater](#):
>
> But I don't see a way to serve HTTP files from the location the flows file is stored

"HTTP files" are _not really_ a thing! You serve data (files) via HTTP.

To serve "data" from Node-RED you typically use the http-in and http-out nodes. If you want the data that is transmitted to be loaded from a file then simply put a `file` node between the http-in and http-out. That file can be anywhere (FS permissions permitting)

For example: [Download a file from node-red using standard nodes (flow) - Node-RED](https://flows.nodered.org/flow/db68bd4934cf46f39e6e453a348bc419)

Alternatively, you can serve files from by [configuring `httpStatic`](https://nodered.org/docs/user-guide/runtime/configuration) - again this can be anywhere (permissions permitting)

* * *

Please try to explain a little clearer

---

_[View the full topic](https://discourse.nodered.org/t/refer-in-node-to-flows-location-serve-files-from-flows-location/82835)._
