# Where is local file path

**URL:** <https://discourse.nodered.org/t/where-is-local-file-path/22803>\
**Category:** General\
**Created:** [8 March 2020 16:25 UTC](https://discourse.nodered.org/t/where-is-local-file-path/22803 "2020-03-08T16:25:55Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Keldandorin](https://avatars.discourse-cdn.com/v4/letter/k/df705f/32.png) [@Keldandorin](https://discourse.nodered.org/u/Keldandorin)\
**Post date:** [8 March 2020 16:25 UTC](https://discourse.nodered.org/t/where-is-local-file-path/22803/1 "2020-03-08T16:25:55Z")

</div>

Hi folks,  
New to node-red but rely likes it. I'v been struggling with following and cant find any answer on Mr google.I have downloaded the ftp Node node-red-contrib-ftp and trying to use that for my project. So to the question, if you do a get file from ftp and just type a filename in Local Filename where do that get saved on a node-red running in docker? Same with the node Watch file..what is default path in node-red?  
Thx for any help  
/Håkan

---

<div class="post-metadata">

**Author:** ![techraf](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/techraf/32/17389_2.png) [@techraf](https://discourse.nodered.org/u/techraf)\
**Post date:** [8 March 2020 16:50 UTC](https://discourse.nodered.org/t/where-is-local-file-path/22803/2 "2020-03-08T16:50:13Z")

</div>

In either case it is `/usr/src/node-red` inside the container.

---

<div class="post-metadata">

**Author:** ![Keldandorin](https://avatars.discourse-cdn.com/v4/letter/k/df705f/32.png) [@Keldandorin](https://discourse.nodered.org/u/Keldandorin)\
**Post date:** [8 March 2020 18:23 UTC](https://discourse.nodered.org/t/where-is-local-file-path/22803/3 "2020-03-08T18:23:56Z")

</div>

Thx. But I dont have a node-red folder in the path /usr/src  
Any other path?

---

<div class="post-metadata">

**Author:** ![techraf](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/techraf/32/17389_2.png) [@techraf](https://discourse.nodered.org/u/techraf)\
**Post date:** [8 March 2020 19:04 UTC](https://discourse.nodered.org/t/where-is-local-file-path/22803/4 "2020-03-08T19:04:44Z")

</div>

You said you were using:

> [@Keldandorin](#):
>
> node-red running in docker

If you say only that, I have to assume you are using [`node-red`](https://hub.docker.com/r/nodered/node-red/) image. The working directory on this image is `/usr/src/node-red`.

If you were using another image, then I have no idea.

* * *

Another possibility is that you are not checking the path inside the container, but on the Docker host.

If that is the case, you'd better invest some time to learn how Docker works (especially [Docker volumes](https://docs.docker.com/storage/volumes/)).

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [8 March 2020 19:52 UTC](https://discourse.nodered.org/t/where-is-local-file-path/22803/5 "2020-03-08T19:52:43Z")

</div>

in docker it will be in /data - ie. in the container or if it was mapped. You cannot access the local filesystem from your computer from docker.

---

<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:** [7 May 2020 20:01 UTC](https://discourse.nodered.org/t/where-is-local-file-path/22803/6 "2020-05-07T20:01:21Z")

</div>

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