# Files access write/read - Node RED wiith Docker from Synology

**URL:** https://discourse.nodered.org/t/files-access-write-read-node-red-wiith-docker-from-synology/23890
**Category:** General
**Created:** [30 March 2020 11:25 UTC](https://discourse.nodered.org/t/files-access-write-read-node-red-wiith-docker-from-synology/23890 "2020-03-30T11:25:47Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Ventilo](https://avatars.discourse-cdn.com/v4/letter/v/e19b73/32.png) [@Ventilo](https://discourse.nodered.org/u/Ventilo)
#### Post date: [30 March 2020 11:25 UTC](https://discourse.nodered.org/t/files-access-write-read-node-red-wiith-docker-from-synology/23890/1 "2020-03-30T11:25:47Z")

</div>

Hello everybody,

I'm a begginer with Node RED, i started first with a RaspberryPi and now I use Node Red with my Synology DS411+II. (Syno+Docker+NodeRed)

I'm looking for write a file on my Syno.

 ![accesssyno](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/f/af967b17c1b2d7c30f35675a41ecbc532e74ae13.jpeg)

I give access to /NodeRedFiles and /node-red

 ![accesssyno2](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/c/9c82d2029480d74fe980c9c547ab046cefb47e46.jpeg)

In Node Red, everything is ok or work, i can see the image preview but in my Synology i can't show the file in the folder.  
Do you have and idea?

---

<div class="post-metadata">

### Author: ![afelix](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/afelix/32/9743_2.png) [@afelix](https://discourse.nodered.org/u/afelix)
#### Post date: [30 March 2020 15:07 UTC](https://discourse.nodered.org/t/files-access-write-read-node-red-wiith-docker-from-synology/23890/2 "2020-03-30T15:07:37Z")

</div>

Have you thought of trying the same path style as the Synology shows in the interface: forward slashes, rather than backward slashes.

---

<div class="post-metadata">

### Author: ![GravityRZ](https://avatars.discourse-cdn.com/v4/letter/g/839c29/32.png) [@GravityRZ](https://discourse.nodered.org/u/GravityRZ)
#### Post date: [30 March 2020 15:17 UTC](https://discourse.nodered.org/t/files-access-write-read-node-red-wiith-docker-from-synology/23890/3 "2020-03-30T15:17:42Z")

</div>

in the nodered/data diretory there is a file called settings.js

did you change the setting so things are written to the filesystem(persistent) instead of to memory

```
contextStorage: {
    default: {
        module:"localfilesystem"
    },
},

```

i use these settings  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/4/f4833faab4ff21bc836c96d258820b59ac6322fd.png)

to access a file in tts i use this.  
you need to use the path relative to the default path.  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/5/b5e939f27bb53d82c6c5db687d3cc8700fbcfd31.png)

---

<div class="post-metadata">

### Author: ![Ventilo](https://avatars.discourse-cdn.com/v4/letter/v/e19b73/32.png) [@Ventilo](https://discourse.nodered.org/u/Ventilo)
#### Post date: [30 March 2020 16:49 UTC](https://discourse.nodered.org/t/files-access-write-read-node-red-wiith-docker-from-synology/23890/5 "2020-03-30T16:49:08Z")

</div>

Thank you, i thing is the good direction, but i don't know where are installed the files?  
Do you have a idea?

---

<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: [29 May 2020 16:49 UTC](https://discourse.nodered.org/t/files-access-write-read-node-red-wiith-docker-from-synology/23890/6 "2020-05-29T16:49:09Z")

</div>

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