We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Martin Baker
5 years agoExplorer | Level 3
How to stop syncing using a script?
I have seen the original question on this. The answer is not practical. While my need is different, I do also need this very basic feature - switch off and then later switch on syncing via a comman...
Greg-DB
Dropbox Community Moderator
5 years agoUnfortunately, Dropbox does not offer an API or way to programmatically manage the official Dropbox desktop client, such as to pause or resume syncing, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
One exception is that the Dropbox desktop client on Linux only does support some command line commands.
- Martin Baker5 years agoExplorer | Level 3
Greg
Thanks for the reply
I really need the facility and it is a show stopper. With drop box active it crashes large installs.
I need to compare the damage dropbox of crashing my basic day to day work 100% of the time and me issuing a killtask on dropbox and then restarting it
What is the recommended way progamatically to force dropbox to close down completely - it obviously must be possible otherwise dropbox could not handle system restarts. Then what is the recommended way to restart it and get it to check itself as being OK - again progamatically.
If need be I can sety up a task to run as system administrator
- Greg-DB5 years ago
Dropbox Community Moderator
Thanks for the feedback. I'm afraid I can't be of much help though, as Dropbox doesn't offer an official interface for programmatically interacting with the desktop client like this.
While I don't have any API information to share on this, you may want to contact support directly for any help with the client that they may be able to offer.
- Martin Baker5 years agoExplorer | Level 3
OK Greg thanks - I have done as you suggest
I will copy the result back here if it helps
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!