# Access local files mounted from SMB Share

**URL:** <https://discourse.nodered.org/t/access-local-files-mounted-from-smb-share/55683>\
**Category:** General\
**Tags:** home-assistant\
**Created:** [25 December 2021 12:03 UTC](https://discourse.nodered.org/t/access-local-files-mounted-from-smb-share/55683 "2021-12-25T12:03:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarkusKer](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@MarkusKer](https://discourse.nodered.org/u/MarkusKer)\
**Post date:** [25 December 2021 12:03 UTC](https://discourse.nodered.org/t/access-local-files-mounted-from-smb-share/55683/1 "2021-12-25T12:03:44Z")

</div>

Hello,

I am trying to play audio files to my media player entity in homeassistant from my smb share. Unfortunately, I cannot access the files without credentials. I was able to map the NAS Folder into the homeassistant media folder but nodered was unable to view the files (They did not appear).

For now i am unsure how to solve this problem. I would like to access the NAS directly from nodered and pass the files directly.

I am new to nodered.  
Any suggestions?

Regards,  
Markus

---

<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:** [26 December 2021 15:28 UTC](https://discourse.nodered.org/t/access-local-files-mounted-from-smb-share/55683/2 "2021-12-26T15:28:40Z")

</div>

Is the share accessible from the command line? If it is, then Node-RED will be able to access it. You may need to look up on the Internet how to mound an SMB share.

---

<div class="post-metadata">

**Author:** ![hardillb](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hardillb/32/12373_2.png) [@hardillb](https://discourse.nodered.org/u/hardillb)\
**Post date:** [26 December 2021 15:43 UTC](https://discourse.nodered.org/t/access-local-files-mounted-from-smb-share/55683/3 "2021-12-26T15:43:28Z")

</div>

This will come down to what volumes Home Assistant has mounted onto the Node-RED container. You will have to ask on the Home Assistant forums as to what is available and how to enable mounting them

---

<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 February 2022 15:44 UTC](https://discourse.nodered.org/t/access-local-files-mounted-from-smb-share/55683/4 "2022-02-24T15:44:26Z")

</div>

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