# Permission error Copying or Writing to a file in Fileshare remote folder

**URL:** <https://discourse.nodered.org/t/permission-error-copying-or-writing-to-a-file-in-fileshare-remote-folder/13874>\
**Category:** General\
**Created:** [31 July 2019 16:59 UTC](https://discourse.nodered.org/t/permission-error-copying-or-writing-to-a-file-in-fileshare-remote-folder/13874 "2019-07-31T16:59:08Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![Nxito](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nxito/32/88293_2.png) [@Nxito](https://discourse.nodered.org/u/Nxito)\
**Post date:** [2 August 2019 06:55 UTC](https://discourse.nodered.org/t/permission-error-copying-or-writing-to-a-file-in-fileshare-remote-folder/13874/11 "2019-08-02T06:55:44Z")

</div>

I had a similar problem, attached link to the solution I got :

> [@Copy a local file to a shared folder with password](https://discourse.nodered.org/t/copy-a-local-file-to-a-shared-folder-with-password/12895/11?u):
>
> I already managed to solve it. Thank you for helping me, i understand now about what was wrong The bug was that node-network was not connecting to the shared folder and the copy command of the cmd did not work. Start testing the "Net Use" command in node-red and register the shared folder there: net use \ sharedfolder / u: User password In the end if it is important to re-enter the password Then I checked with net use that node-network was connected to that folder and now the copy command …

I used the execute node to solve it

---

_[View the full topic](https://discourse.nodered.org/t/permission-error-copying-or-writing-to-a-file-in-fileshare-remote-folder/13874)._
