Selective Sync Behaviour


Recommended Posts



I'm trying to understand the selective_sync behaviour.


When adding a folder with the flag set (selective_sync=1) all files are set for sync. I guess the contrary should be the norm. Setting all files to not sync. Then select which you want to sync.


The deal is, all folders are synced? Why?


The other question is, if I want the flag to be "download = 0" in the files, should I iterate thru the whole collection setting it?




Link to comment
Share on other sites

  • 1 month later...

I was just going to ask this exact same question; good thing I looked first.


In an effort to implement somewhat of an "on-demand" type of sync, I noticed that the default "download" option for a file inside of a "selective_sync=1" folder was "download = 1". I also agree that in this scenario, download=0 would likely be the expected default option (as I was expecting).


This obviously doesn't help you, but I had to agree with your opinion.

Edited by palcs
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.