I would probably start with rsync.
Thanks - is there a reference implementation for rsync that works on windows and iOS? My impression was it was more of a CLI tool for Linux/macOS.
Ask HN: Best modern file transfer/synchronization protocol?
11–20 of 59 posts
Re: Ask HN: Best modern file transfer/synchronization protocol?
#12Re: Ask HN: Best modern file transfer/synchronization protocol?
#13Re: Ask HN: Best modern file transfer/synchronization protocol?
#14Re: Ask HN: Best modern file transfer/synchronization protocol?
#15Edit: I’ll leave it here just in case it is useful for others but it may or may not be embeddable into your app, especially on the phone.
Re: Ask HN: Best modern file transfer/synchronization protocol?
#16Use HTTP. For fault tolerance, use resumeable downloads or resumeable uploads. There is work at the IETF on resumeable uploads right now: https://datatracker.ietf.org/doc/draft-ietf-httpbis-resumabl...
Re: Ask HN: Best modern file transfer/synchronization protocol?
#17take a look at https://tus.io/
Re: Ask HN: Best modern file transfer/synchronization protocol?
#18Re: Ask HN: Best modern file transfer/synchronization protocol?
#19A local instance of Syncthing can behave as a robust sync tool + inotify API for applications consuming the files: https://docs.syncthing.net/rest/events-get.html#get-rest-eve...
i believe there's an embeddable golang library, but if you want something easy to use on android check in on syncthing-fork which lets you define more granular sync conditions including "just turn on 5 minutes every hour" https://github.com/Catfriend1/syncthing-android
Re: Ask HN: Best modern file transfer/synchronization protocol?
#20I cannot recommend rclone enough. Been using it to transfer petabyte-scale datasets flawlessly. Available as librclone as well