flamman Posted December 31, 2014 Report Share Posted December 31, 2014 The folder preference to overwrite local changes is off by default and must be manually activated.In the API there are several options you can manage:"search_lan":1,"use_dht":0,"use_hosts":0,"use_relay_server":1,"use_sync_trash":1,"use_tracker":1 Is there an Api call available to set "overwrite changes" to 1 - so any local changes will always be overwritten by Sync? That's my intended use. I need to implement "read-only" in the broadest sense and not allow (or at least immediately undo) local changes. Quote Link to comment Share on other sites More sharing options...
RomanZ Posted January 16, 2015 Report Share Posted January 16, 2015 @flammanSure. See "set_folder_prefs". Here is sample request and response:http://127.0.0.1:8888/api?method=set_folder_prefs&secret=Bxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&overwrite_changes=1{ "overwrite_changes": 1, "search_lan": 1, "selective_sync": 0, "use_dht": 0, "use_hosts": 0, "use_relay_server": 1, "use_sync_trash": 1, "use_tracker": 1 } Quote Link to comment Share on other sites More sharing options...
flamman Posted January 29, 2015 Author Report Share Posted January 29, 2015 Thank you so much for you reply RomanZ - also the link is very helpful. I think this anwers my question completely! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.