Hi,
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.
Regards
Johann
Hi Johann,
as this is not a Wisej specific problem you can try searching for advice for ASP.NET apps.
Here is a sample thread:
https://stackoverflow.com/questions/5341327/writing-to-a-file-on-a-remote-server
Hope that helps.
Best regards
Frank
Does the user IIS_IUSRS have write access to the folder?
Please login first to submit.