I get an error telling me, that the credentials (username or pw) are wrong when writing to an “\\remoteserver\dir”. None of them is in a domain, so I created on both the same user with same password. I can create the virtual dir and the user has full rights and see the subdir structure. From Windows explorer I can create/read/delete files and subdirs.
What I want is, simply to upload files into the virtual dirs.
// store HttpFileCollection stream as file
String sPath = @”\\10.10.10.102\upload”;
files[i].SaveAs(sPath + “\\” + files[i].FileName);
What is wrong with this?
Any hint is very appreciated.
as this is not a Wisej specific problem you can try searching for advice for ASP.NET apps.
Here is a sample thread:
Hope that helps.
Please login first to submit.