Java – upload and download files on a Linux managed server using the Rsync algorithm

I am writing an application in Java to back up files on the server It is a Windows version of the application In my application, I have to perform incremental backup operations In order to implement incremental backup, I try to follow Rsync algorithm I got a Lib in Java "jarsync 0.3", but I didn't get how to use Rsync to write code to upload and download files on the Linux managed server (enable SSH)

I searched enough to get any solution that would help me upload and download files using Rsync, but I couldn't succeed

Please give me your valuable advice to help me find a way to upload and download files on Linux hosting server using Rsync

Solution

From your question, do you want to:

>Implement Rsync client > implement Rsync server > or just use Rsync internal algorithms for other purposes

For the first two options: forget it: -) for details, see "any good Rsync library for Java?"

If you need the last option – well, good luck Wikipedia is your friend

The above is the whole content of the Rsync algorithm for uploading and downloading files on the Linux hosting server collected by the programming house. I hope this article can help you solve the program development problems encountered by the Rsync algorithm for uploading and downloading files on the Linux hosting server.

If you think the content of the programming home website is good, you are welcome to recommend the programming home website to programmers and friends.

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>