Tim Moores wrote:Why are you trying to reinvent the wheel? That's what Rsync does, not the WebDAV part, but the file syncing part.
Are both WebDAV servers in place? Do you have their URLs, usernames and passwords?
The Java class libraries do not have a WebDAV client, but searching for "java webdav library" or some such term will find several.
John Jai wrote:Is webDav a code maintenance tool. Can you check it it has API to support check out and check in using java?
Campbell Ritchie wrote:Moving thread as too difficult for "beginning".
Rish Gupta wrote:I found [FTPClient].completePendingCommand();
I am sure it has got something to do with this. If anyone knows about this please help me out. when i insert the above method after inp.close(); my program copies 2 files at a time instead of just one that it was doing earlier. I just need to figure out how to use it right.