Interesting, but the topic title is a bit mis-leading.
This uses cURL to copy and push remote files, not even using rsync (which is in the USBnet package) to synchronize contents that differ.
File transfer protocols do not consider (or handle) concurrent file access while the file is being changed.
True "cloud" services use their own protocol, although some may also support older file transfer protocols.
Some "cloud" services also support the older "WEBdav" protocol.
And we have a WEBdav protocol client that could be scripted at:
https://www.mobileread.com/forums/sho....php?p=2647933
With that disclaimer said, I still want to say:
Thanks!
It is a nice looking remote file access script, easy to use, small, and "just works".