Women in Technology

Hear us Roar



Article:
  Sliding into WebDAV
Subject:   put method always return false
Date:   2006-08-30 00:37:37
From:   tbspl
Hi can somebody tell me urgently..i m trying to upload files on a remote webdav server location and i m using this code:


HttpURL hrl = new HttpURL("http://webdav.propco.co.uk/");
WebdavResource wdr = new WebdavResource(hrl);


File fn = new File("D:\\Login.java");
System.out.println(wdr.putMethod(fn));
wdr.close();


There is not any password validate placed on the webdav location and i am able to get list of files from there.But not able to put or get or delete any file on the location. Please reply urgent if somebody can help me in this case.


regards:
bhavesh@propco.co.uk