G
Guest
How does one copy a file to a UNC path and include authentication?
My current code is:
System.IO.File.Copy(@"c:\picture.jpg", @"\\server\share\picture.jpg");
Of course I just get a login failed for this, as I don't know how to
transmit authentication information with the request.
Anyone know how to do this?
My current code is:
System.IO.File.Copy(@"c:\picture.jpg", @"\\server\share\picture.jpg");
Of course I just get a login failed for this, as I don't know how to
transmit authentication information with the request.
Anyone know how to do this?