a-schild/nextcloud-java-api

is there any way to auto sync the data?

Vaibhav1587 opened this issue · 1 comments

I would like to keep my custom desktop app in auto sync with web and android device.
Is there any way(api) to get desktop client notified about the change in other platform data.

There are two things:

  • Server inform the client about server sie data changes
    I don't think there exists such a API on the server
    The best I can think of, is use the same report api as the desktop/mobile clients do

  • Sync the data
    This is basically a webdav sync which must be done
    This is (currently) out of the scope of this library since there exist other libraries for webdav sync
    https://sourceforge.net/projects/webdav-sync/files/webdav-sync/1.1.9/
    In addition conflict resolution/renaming etc. must be handled in some way too