Ching-Lung,
Are you using the POST or the PUT action? On IIS, if you want to use
POST, then you have to code the solution yourself (in an ASPX/ASP page). If
you use PUT, then you have to set the setting for the directory to accept
PUT requests.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Ching-Lung" <cl******@hotmail.com> wrote in message
news:0d****************************@phx.gbl...
Hi,
UploadFile() in System.Net.WebClient is always throwing
WebException: "The remote
server returned an error: (405) Method Not Allowed."
Is there any setting that I miss? IIS setting?
Please help, thanks!
-CL