You get a beer! Interesting to finally know that the Slide client was
sending lemon messages.
Any ideas?
Thanks,
Portia
[SMURF] HttpClient.executeMethod() start.
[SMURF] WebdavResource.putMethod() start
[SMURF] READING FILE CONTENTS: We love Methode!
[SMURF] HttpClient.executeMethod() start.
[SMURF] HttpClient.executeMethod() now sending request body allegedly.
[SMURF} streaming data out from HttpClient...
[SMURF] FILE is being set to: bob.txt
[SMURF] pumping out code as UTF-16
[SMURF] stream query file contents = We love Methode!
[SMURF} streaming data out from HttpClient DONE.
[SMURF] input var = java.net.SocketInputStream@815859
[SMURF] HTTP/1.1 400 Bad Request
[SMURF] Content-Type: text/html
[SMURF] Date: Fri, 21 Feb 2003 17:14:54 GMT
[SMURF] Date: Fri, 21 Feb 2003 17:14:54 GMT
[SMURF] Content-Language: en
[SMURF] Transfer-Encoding: chunked
[SMURF] Server: Apache Tomcat/4.0.3 (HTTP/1.1 Connector)
[SMURF]
[SMURF] 271
[SMURF] <html><head><title>Apache Tomcat/4.0.3 - Error
report</title><STYLE><!--H1{font-family : sans-serif,Arial,Tahoma
;color : white;background-color : #0086b2;} BODY{font-family :
sans-serif,Arial,Tahoma;color : black;background-color :
white;} B{color : white;background-color : #0086b2;} HR{color : #0086b2;}
--></STYLE> </head><body><h1>Apache Tomcat/4.0
.3 - HTTP Status 400 - Bad Request</h1><HR size="1" noshade><p><b>type</b>
Status report</p><p><b>message</b> <u>Bad Req
uest</u></p><p><b>description</b> <u>The request sent by the client was
syntactically incorrect (Bad Request).</u></p><H
R size="1" noshade></body></html>
[SMURF] 0
[SMURF]
|---------+---------------------------->
| | andreasreiss@nets|
| | cape.net (AR) |
| | |
| | 21/02/2003 16:14 |
| | Please respond to|
| | "Slide Users |
| | Mailing List" |
| | |
|---------+---------------------------->
>---------------------------------------------------------------------------------------------------------------|
|
|
| To: [EMAIL PROTECTED] ("Slide Users Mailing List")
|
| cc:
|
| Subject: RE: WebDav Client PUT returns "No Content"
|
>---------------------------------------------------------------------------------------------------------------|
I had this as well and this helped:
String remote = "http://server:8080/webdav/bla";
File ff = new File("c:\\temp\\bla.txt");
try {
WebdavResource wdr = new WebdavResource(new HttpURL(remote ));
wdr.putMethod( new URL(remote).getPath() , ff );
} catch (IOException e) {
e.printStackTrace();
}
[EMAIL PROTECTED] wrote:
>
>Apologies for such a trivial question. I am trying to "PUT" a file from my
>local machine into a remote location, however I get a return "HTTP/1.1 204
>no Content" even though my local file blatantly contains stuff.
>
>When I look on the remote filesystem, I see a file with my local filename
>has been created, but it's empty of course.
>
>Any ideas?
>
>Thanks,
>Portia
>
>
>
>
**********************************************************************************
>This email may contain confidential material. If you were not an
>intended recipient, please notify the sender and delete all copies.
>We may monitor email to and from our network.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
__________________________________________________________________
The NEW Netscape 7.0 browser is now available. Upgrade now!
http://channels.netscape.com/ns/browsers/download.jsp
Get your own FREE, personal Netscape Mail account today at
http://webmail.netscape.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
**********************************************************************************
This email may contain confidential material. If you were not an
intended recipient, please notify the sender and delete all copies.
We may monitor email to and from our network.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]