is it possible to use rsync lib inside of an iPhone or iPad app? Or maybe there are any alternatives suitable for remote file sync over sftp?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I have to close this question because at the moment there are only few possible solutions and neither of them runs ‘out of the box’.
I have found several programs on the AppSote which somehow mimics rsync functionality so after all using rsync is possible, however not so simple as it seems.
Modifiying rsync to turn it into a library is feasible, but this is not how author of one of these programs did it. Doing so would subject app to GPL, which not permitted by Apple.
There are other approaches, such as http://search.cpan.org/~leakin/File-Rsync-0.42/Rsync.pm (a perl module), and https://github.com/kolosy/rsync.net (c#).
I doubt someone would really need rsync lib for iphone since iOS 5.0 was released. However one may need it to support some legacy code, but even then rewriting rsync lib from scratch is questionable, because it is complex tool and this task certainly will take more than two or three month.