Jar to use rsync to upload and download files on linux server

I am writing an application for backing up user data. In my application, I need to perform an incremental backup operation. to perform incremental backup, I try to use rsync algorithm.

I am writing an application for the Windows version. I have a linux hosting server for storing files. after some searching, I got two libs "jarsync-0.1" and "sisyphe-0.92", but the "jarsync-0.1" beta release does not give the corresponding result. and "sisyphe-0.92" is configured using linux os

Please, can you offer me any lib file in java that can be used for rsync (for Windows version).

+7
java rsync
source share
3 answers

There is currently no full rsync Java port.

In your case, I would look at your own rsync, which you could name. DeltaCopy has an rsync GUI for Windows that can be useful. http://www.aboutmyip.com/AboutMyXApp/DeltaCopy.jsp

+1
source share

I think this will go unanswered. Since there are no active rsync libraries for Java.

I just found that this question is already being discussed here.

Apparently, most of the guys may have implemented rsync through system calls (e.g. calling their own calls through your Java application).

0
source share

The only way I see this application can be encoded through native rsync calls on the OS. Since there are no actively developed java implementations for rsync. Therefore, my suggestion would be to download the rsync utility, which runs on the command line and calls the utility through process calls in your code.

This is the best solution I could think of.

0
source share

All Articles