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]

Reply via email to