I am using Syncthing on Android to sync any sort of files between my phone and desktop. It works great!
There is no native version for iOS, however it seems like there's an app that lets you use Syncthing on iOS. Could be worth trying.
https://apps.apple.com/us/app/m%C3%B6bius-sync/id1539203216