Announcement

Collapse
No announcement yet.

Trying to copy files to Synology NAS using System.IO.File.Copy

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Trying to copy files to Synology NAS using System.IO.File.Copy

    I can copy files on the local drives but not mapped drives?

    "c:\audio_artwork\ - works

    "W:\audio_artwork\ - does not work

    Started googling and didn't get far. Any help appreciated. Thanks.


    #2
    I remember reading somewhere that for some reason it's different when copying to mapped drives.

    Try: "W:\\audio_artwork\

    Notice the extra slash.
    If not, just try a search for writing to or copying to a NAS.

    Comment


      #3
      Its a little bit more complicated than that. I do not believe "W:\\" will work.

      Mapped drives are done by user. If your homeseer is running under a different user, it might not see the mapped drive.

      You could try using the drive identifier name (where the double reverse slash is used): \\drive-name\directory

      Comment


        #4
        I stand corrected. I was going by memory. I think that is the way I saw it before

        Comment


          #5
          Thanks, I did get it working using \\NASname\folder\

          Comment

          Working...
          X