2
Reply

To copy files from one location to shared location using C#

shagil a

shagil a

Jul 19 2015 2:21 PM
2.4k
 Hi All,
I have a C# program to copy the files from one location to another and its working fine if the destination location is in same server but my requirement is to copy the files from server-1 to server-2 where i have a shared location created (\\Server2\Testfile). From Server1 i have the permission to access the shared folder, copy the files, delete files but through program its says "Access to the path '\\Server2\Testfile' is denied.

 

Thanks

Shagil

Answers (2)