Julius,

After a while of testing I found that
     PutMethod put = new PutMethod("http://linux3/upload/foo.txt";);
rather than
     PutMethod put = new PutMethod("http://linux3/upload";);
was required. That's all ;-)

Best Regards

Michael


> -----Ursprüngliche Nachricht-----
> Von: Julius Davies [mailto:[EMAIL PROTECTED]
> Gesendet: Freitag, 21. Januar 2005 18:05
> An: HttpClient User Discussion; [email protected]
> Betreff: RE: File upload with PUT method
>
>
> Hi, Michael,
>
> I got this working with Apache 2.0 once.  It was tricky.  I
> had enable WebDAV.  Maybe this information will help you.
>
> I find it much easier to just implement a very basic
> "doPut()" method in a Servlet under Tomcat.
>
> yours,
>
> Julius
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to