Hi there.
I have an ASP.Net form with C# which allows a user to browse to a file and then add the file details to a listbox; I am using a listbox to hold the details for multiple files to enable batch processing.
For each file, I then copy it to a folder called C:\uploads and the file is processed from there.
For the copy command I am using:
File.Copy(listF ileName.Text, importFolder);
and it is here that I receive a message:
Could not find a part of the path 'C:\Uploads\'.
Any ideas how to get passed this please, as I have tried a few ideas from the web but none have been applicable so far?
Thank you.
Mark :)
I have an ASP.Net form with C# which allows a user to browse to a file and then add the file details to a listbox; I am using a listbox to hold the details for multiple files to enable batch processing.
For each file, I then copy it to a folder called C:\uploads and the file is processed from there.
For the copy command I am using:
File.Copy(listF ileName.Text, importFolder);
and it is here that I receive a message:
Could not find a part of the path 'C:\Uploads\'.
Any ideas how to get passed this please, as I have tried a few ideas from the web but none have been applicable so far?
Thank you.
Mark :)
Comment