You obviously didn't search very long, or possibly not at all.

http://www.google.com/search?q=http+405

You don't have to go very far down to find one.  Or, you can use this one
and it's even further up the list.

http://www.google.com/search?hl=en&q=%22Method+not+allowed%22

DOH!!!
...Glenn
On Tue, Aug 26, 2008 at 12:01 AM, Clyde <[EMAIL PROTECTED]> wrote:

>
> I m trying to upload files to a webserver.
> In a console application, I write d following code,
> WebClient myWebClient = new WebClient();
>            
> myWebClient.UploadFile("http://LocalHost/HttpsApp/<http://localhost/HttpsApp/>
> Default.aspx",  @"C:\holi.txt");
> I get a runtime error on line 2 saying:"The remote server returned an
> error: (405) Method Not Allowed."
> I tried to google it out but didnt find a solution.
> Ur help asap wud b appreciated .
> Thanx,
> Clyde
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web 
Services,.NET Remoting" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://cm.megasolutions.net/forums/default.aspx
-~----------~----~----~----~------~----~------~--~---

Reply via email to