1
Is the remote directory accessible as a network share? can you browse it in your windows file explorer?
if so, and if you have credentials to connect, following is simple code to copy file using C#:
- using ( new Impersonator( "username", "domainname", "password" ) )
- {
- File.Copy(sourcefile,destinationfile);
- }
read more on C# File.Copy on MSDN