We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
sriniv
8 years agoExplorer | Level 3
Creating a folder with sync disabled
Hey all... Using the API, is there a way to create a folder, which can only synced to the server on demand? So users can put files, but sync is trigerred only at a certain time ?
Thanks for your help
- Thanks for clarifying! The API will always service whatever API calls are made as soon as possible, so if you want to defer operations like this, you should build that in to your app's code. That is, just have your app itself wait to make those API calls, e.g., to create a folder, upload files, etc, until whenever you want them done.
5 Replies
- Greg-DB8 years ago
Dropbox Community Moderator
I'm not sure I understand exactly what functionality you're looking for. Do you perhaps mean you want to create a folder that isn't synced automatically via the "Selective Sync" feature, or via the online only option?
In any case, there isn't anything like that, but please feel free to elaborate and I'll be happy to pass this along as a feature request.
- sriniv8 years agoExplorer | Level 3Greg.. Thanks for the reply, let me rephrase.
We would like to disable sync for certain users on a folder via API, and have the API enable it during non work hours for sync to server.
let me know if that helps - Greg-DB8 years ago
Dropbox Community Moderator
Thanks! I'm still not sure I fully understand your exact scenario though. When you refer to the "server", do you mean your own server which is syncing with Dropbox, e.g., via the Dropbox desktop client, or do you mean the Dropbox API servers? - sriniv8 years agoExplorer | Level 3I am talking about dropbox servers.. basically, the files should stay local and be synced to dropbox on demand.
- Greg-DB8 years ago
Dropbox Community Moderator
Thanks for clarifying! The API will always service whatever API calls are made as soon as possible, so if you want to defer operations like this, you should build that in to your app's code. That is, just have your app itself wait to make those API calls, e.g., to create a folder, upload files, etc, until whenever you want them done.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!