i am writing an application in java that takes backup of files on server.It is a windows version application. In my application i have to perform incremental backup operation. For implementing incremental backup i am trying to follow rsync algorithm. i got one lib in java "jarsync0.3" but not getting how to write a code using rsync for uploading and downloading files on linux hosting server (SSH enabled).
I searched enough to get any solution which will help me for uploading and downloading files using rsync, but could not succeeded.
Please give me your valuable suggestion that will help me to get a way for using rsync for files uploading and downloading on linux hosting server.
From your question, it is not quite clear if you are trying to:
- implement rsync client
- implement rsync server
- or just use rsync internal algorithms for some other purpose
For first two options: forget about it :-) See "Any good rsync library for Java?" for details.
If you need the last option - well, good luck. Wikipedia is your friend ;-)
The content is written by members of the stackoverflow.com community.
It is licensed under cc-wiki