# Fs file lister with synology

**URL:** <https://discourse.nodered.org/t/fs-file-lister-with-synology/44388>\
**Category:** General\
**Created:** [19 April 2021 08:45 UTC](https://discourse.nodered.org/t/fs-file-lister-with-synology/44388 "2021-04-19T08:45:15Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexander77](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@alexander77](https://discourse.nodered.org/u/alexander77)\
**Post date:** [19 April 2021 08:45 UTC](https://discourse.nodered.org/t/fs-file-lister-with-synology/44388/1 "2021-04-19T08:45:15Z")

</div>

Hi,  
i would like to use a media player on my raspi (running node red) playing files from my synology drive.  
I used hard coding of the path (not via msg) in the form afp://mysynology.local/video  
mysynology is a placefolder and is replaced with the actual name.  
I copied the path from the filemanager in the raspi.  
Unfortunately this does not work. "File could not be accessed"  
How can i access the /music folder in my synology? It requires logon credentials, how can that be sent to the synology?  
Raspi and synology are happy with each other, from file manager i can start videos by double clicking them.

---

<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:** [19 April 2021 08:52 UTC](https://discourse.nodered.org/t/fs-file-lister-with-synology/44388/2 "2021-04-19T08:52:53Z")

</div>

Mount the share on the RPi then access the files as if they were local.

[https://saywebsolutions.com/blog/mounting\_synology\_nas\_shared\_folder\_nfs\_ubuntu\_16\_10](https://saywebsolutions.com/blog/mounting_synology_nas_shared_folder_nfs_ubuntu_16_10)

---

<div class="post-metadata">

**Author:** ![alexander77](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@alexander77](https://discourse.nodered.org/u/alexander77)\
**Post date:** [19 April 2021 09:09 UTC](https://discourse.nodered.org/t/fs-file-lister-with-synology/44388/3 "2021-04-19T09:09:32Z")

</div>

Wow, that was quick! Thank you!  
I'll check that later tonight.

---

<div class="post-metadata">

**Author:** ![alexander77](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@alexander77](https://discourse.nodered.org/u/alexander77)\
**Post date:** [19 April 2021 19:29 UTC](https://discourse.nodered.org/t/fs-file-lister-with-synology/44388/4 "2021-04-19T19:29:04Z")

</div>

Well, it works ... and not.  
Step 5 of the instruction: the setup is not reboot persistent. Auto mount on boot does not work. Must be done manually.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [19 April 2021 19:39 UTC](https://discourse.nodered.org/t/fs-file-lister-with-synology/44388/5 "2021-04-19T19:39:46Z")

</div>

You have several options with a Synology NAS. The most efficient file share will generally be SMB (AKA CIFS), a Windows file share. For that, you need cifs-utils. You could also use NFS as Colin shared. You can also use AFP which I think is Apple's file share. You can even use SCP or SFTP or FTPS.

Internet searches turned these up which may help:

- [MountWindowsSharesPermanently - Ubuntu Wiki](https://wiki.ubuntu.com/MountWindowsSharesPermanently)
- [How to mount an afp shared folder in Debian Linux as a volume? - Server Fault](https://serverfault.com/questions/1024771/how-to-mount-an-afp-shared-folder-in-debian-linux-as-a-volume)
- [How To Automatically Mount Network Shares On Linux (addictivetips.com)](https://www.addictivetips.com/ubuntu-linux-tips/automatically-mount-network-shares-on-linux/)

---

<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:** [19 April 2021 19:41 UTC](https://discourse.nodered.org/t/fs-file-lister-with-synology/44388/6 "2021-04-19T19:41:42Z")

</div>

> [@TotallyInformation](#):
>
> You could also use NFS as Colin shared

Pretty sure that's the second time you have called me Colin 😂😂😂

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [19 April 2021 19:43 UTC](https://discourse.nodered.org/t/fs-file-lister-with-synology/44388/7 "2021-04-19T19:43:07Z")

</div>

Doh! Well at my age what do you expect, I can barely remember my own after some days at work! 😀

Sorry Mcl, I'll try harder next time!

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [19 April 2021 20:12 UTC](https://discourse.nodered.org/t/fs-file-lister-with-synology/44388/8 "2021-04-19T20:12:27Z")

</div>

> [@Steve-Mcl](#):
>
> Pretty sure that's the second time you have called me Colin

Hopefully you don't consider that as an insult.

---

<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:** [19 April 2021 20:13 UTC](https://discourse.nodered.org/t/fs-file-lister-with-synology/44388/9 "2021-04-19T20:13:26Z")

</div>

Haha no. A compliment indeed Colin.

---

<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:** [18 June 2021 20:14 UTC](https://discourse.nodered.org/t/fs-file-lister-with-synology/44388/10 "2021-06-18T20:14:26Z")

</div>

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