|
Question : Error 405 method not allowed when using WebClient()
|
|
using WebClient() method to upload a file and getting the following error:System.Net.WebException: The remote server returned an error: (405) Method Not Allowed.
|
|
Answer : Error 405 method not allowed when using WebClient()
|
|
the UploadFile method uses a HTTP PUT which most web servers disable by default. Could you go into a bit more detail of your security situation and what you are trying to accomplish?
Cheers,
Greg
|
|
|