Hi i have a networked drive i need to copy files to from a c# web application, i am currently get a user authentication error, how can i authenticate a user and then copy the files?
//upload image to live server
string sourcePath = @"E:\CompetitionImages";
string targetPath = @"\\ipaddress\CompetitionImages";
// Use Path class to manipulate file and directory paths.
string sourceFile = System.IO.Path.Combine(sourcePath, smallImage);
string destFile = System.IO.Path.Combine(targetPath, smallImage);
// Create a ...
Go to the complete details ...