# Copy a local file to a shared folder with password

**URL:** <https://discourse.nodered.org/t/copy-a-local-file-to-a-shared-folder-with-password/12895>\
**Category:** General\
**Created:** [4 July 2019 09:47 UTC](https://discourse.nodered.org/t/copy-a-local-file-to-a-shared-folder-with-password/12895 "2019-07-04T09:47:22Z")\
**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:** [8 July 2019 09:20 UTC](https://discourse.nodered.org/t/copy-a-local-file-to-a-shared-folder-with-password/12895/11 "2019-07-08T09:20:58Z")

</div>

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 already worked:  
copy c:\one\two\three.mp4 \sharedfolder\newfolder

Now i can use the node FS OPS to work with files too

---

_[View the full topic](https://discourse.nodered.org/t/copy-a-local-file-to-a-shared-folder-with-password/12895)._
