Re: Upload HTTP with Jetty/JBoss

On Thu, 19 Sep 2002 richard.aillet@fr.thalesgroup.com wrote:

>
> Hello,
>
> when I try to upload a file with JWPut to the Jetty server (default WEB
> server of JBoss), I use the command:
>
> java -classpath D:\Winie\jars\winie.jar java org.w3c.jwput.JWPut README.txt
> http://localhost:8080/README.txt
>
> But I have systematically the below error:
> ..
> Winie - HTTP/1.1 PUT tool
> Version: 1.0.8
> Uploading README.txt...
> An HTTP Error occured while uploading "README.txt"
> Error 405: Method Not Allowed
> ..
>
> Does someone know the reason ?
> Is there some prerequisites to do on the WEB server before making a put  ?

PUT allow to replace files on the server, it is then extermely insecure to
open it without restriction.
In this case, you should configure your server to allow PUT.
Thanks,

-- 
Yves Lafon - W3C
"Baroula que barouleras, au tiéu toujou t'entourneras."

Received on Thursday, 19 September 2002 10:25:45 UTC