G
Guest
Have the following code:
wkLocalPath = "C:\A\1.jpg"
wkServerPath = "http://servername/dirname/1.jpg"
wcClient.Credentials = New NetworkCredential("UID", "PW")
wcClient.UploadFile(wkServerPath, "PUT", wkLocalPath)
File exists on C.
Dir exist on server (ASPNET user and Admin user have full rights) (tried both)
Created virtual for Dirname and gave it write access in properties)
"POST" gives same results.
with or without credentials, throws: (404) Not Found
It looks like a security permissions thing. Just can't figure out what.
Someone thought it was a bug in Webclient since 1.0
Webclient download works fine.
Don't have a web page to put a file or Upload control on. Need to pull data
from client machine on the fly through inline code. Trying to create a DLL as
a service mod to do upload/Download from server.
Any help would be appreciated.
wkLocalPath = "C:\A\1.jpg"
wkServerPath = "http://servername/dirname/1.jpg"
wcClient.Credentials = New NetworkCredential("UID", "PW")
wcClient.UploadFile(wkServerPath, "PUT", wkLocalPath)
File exists on C.
Dir exist on server (ASPNET user and Admin user have full rights) (tried both)
Created virtual for Dirname and gave it write access in properties)
"POST" gives same results.
with or without credentials, throws: (404) Not Found
It looks like a security permissions thing. Just can't figure out what.
Someone thought it was a bug in Webclient since 1.0
Webclient download works fine.
Don't have a web page to put a file or Upload control on. Need to pull data
from client machine on the fly through inline code. Trying to create a DLL as
a service mod to do upload/Download from server.
Any help would be appreciated.