J
Jim McGivney
In an aspx page I run the following C# code-behind:
string filename = null;
filename = txtUpload.PostedFile.FileName.Trim();
//save the file
txtUpload.PostedFile.SaveAs(@"C:\home\sites\bobo.com\web\" + filename);
I get the following error: The given path's format is not supported.
Any suggestions as to the proper format for the path would be appreciated.
Thanks,
Jim
string filename = null;
filename = txtUpload.PostedFile.FileName.Trim();
//save the file
txtUpload.PostedFile.SaveAs(@"C:\home\sites\bobo.com\web\" + filename);
I get the following error: The given path's format is not supported.
Any suggestions as to the proper format for the path would be appreciated.
Thanks,
Jim