Well, yes ... but where can I learn more about what the "POST" method is ...
and what other methods there are ... etc. Also, I tried using localhost as
the web server (I have IIS installed) and I still get the same message. How
do I allow POST method on my own machine?
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:Oh**************@tk2msftngp13.phx.gbl...
* "Steve Young" <yo***@indiana.edu> scripsit: I am trying to use the webclient class in VB.Net ... in particular I
want to upload a file to the web server using:
dim responseArray As Byte() =
myWebClient.UploadFile(uri,"POST",filename)
When I try this I get Error 405 - Method Not Allowed diagnostic message.
I have searched the help files in .Net and cannot find reference to this
error. Can someone point in the direction of a place where I can learn
more about this error ... and how to get around it?
Maybe your webserver doesn't allow the "POST" method?
--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>