Hi,
I've downloaded and installed the webdav client. I am able put files on
a local webdav server that does not require a password with this code:
WebdavResource webdavResource = new WebdavResource(inURL);
File file = new File (inFile);
if (webdavResource.putMethod(inRemotePathAndName, file)) {
System.out.println("It worked: " +
webdavResource.getStatusMessage());
} else {
System.out.println("It didn't work: " +
webdavResource.getStatusMessage());
}
But now I have to send the file to a server that requires a password. I
have searched the javadoc like crazy and it says nothing about
passwords. Is there a way to do it?
Thanks in advance,
Matt