Selective Sync


Recommended Posts

The topic was introduced here,, but had no response, so I thought I'd re-introduce it.


Basically, I have set selective_sync on a folder, but unfortunately it seems that when files are added they are still automatically sync'd (running the get_files API method yields {"download" : 1} on the newly added files).


Is this intended behavior or just one of those Beta phase items? I think I personally would expect the files to be {"download" : 0} by default when added to a folder that has selective_sync turned on.


Has anyone come up with a potential work-around?

Link to comment
Share on other sites

One thing that I will say that I tried already (which did not work) was using .NET's FileSystemWatcher. When a file was created, the idea was that I get the file that was created and call "set_file_prefs {download: 0}" on it.


Unfortunately, it seems to take BTSync a little bit to pick up the file (I am finding ~10 seconds or so, though it isn't consistent), so BTSync doesn't know about the file by the time I call set_file_prefs.

Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.