[Selective Sync] Setting The Download=0|1 Flag On Directories


alxbrun

Recommended Posts

I manage to have selective_sync work by calling `set_file_prefs` with the download flag. But `set_file_prefs` does not work on directories (that is, subdirectories of the root folder), and `set_folder_prefs` is just intended to be used on the root shared folder, not its subdirectories, and doesn't have a download parameter anyway.

 

How to instruct the API to download or not a full subdirectory without having to recursively go through the files and call `set_file_prefs` for each one?

 

Thanks for your help and the great project!

Link to comment
Share on other sites

  • 2 weeks later...

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.

Guest
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.