Cross-platform network binary file comparison in C?
-
12-12-2019 - |
Question
Is there an existing library or codebase that is cross platform (Windows/Linux/OSX or a segment thereof) that would allow me to quickly compare the differences between two files over a network?
Basically, trying to recreate a basic version of rsync's "inplace" for a project I'm working on which would take the differences between the files and send just that block level data over the network connection.
Thanks.
Solution
There is a librsync (with some more information available at the author's site) that you could take a look at. It appears to have been abandoned for quite a while, the last release was in 2004, but it may work well enough as-is.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow