Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
MWS-TSG
6 years agoExplorer | Level 3
Test whether file has finished syncing on windows
Hi,
I need to test programatically (any language/script) whether a file which has just been changed locally on PC has finished syncing via dropbox.
If it hasn't yet started syncing or hasn't yet...
- 6 years ago
Unfortunately, Dropbox doesn't offer an official API for checking the status of the local Dropbox desktop client or files like this, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
MWS-TSG
6 years agoExplorer | Level 3
Thanks, Greg.
I have experimented with manually pausing dropbox for the duration of my process, and then un-pausing. This has the desired effect. Therefore I do have one more question which is:
How do I pause/un-pause Dropbox syncing programatically, using a script or command?
Thanks again.
Mark.
Greg-DB
Dropbox Community Moderator
6 years agoHi Mark, unfortunately Dropbox also doesn't offer an official interface for pausing/resuming the desktop client. I'll pass this along as a request as well, but likewise I can't promise if/when that might be implemented. Apologies I don't have better news for you!
- MWS-TSG6 years agoExplorer | Level 3
Thanks, Greg!
Mark.
- MWS-TSG6 years agoExplorer | Level 3
In case anyone else has a simiar challenge, mine was related to a large file in Windows 10 becoming 'locked' by dropbox just after it was changed, which was just when the next process (MS Access) needed to open it, and could not.
The workaround I have adopted is to suspend dropbox using a command in a batch file, run my tasks, and then resume dropbox. I followed this post:
https://superuser.com/questions/693680/pausing-resuming-dropbox-from-the-command-line-windows
using the pssuspend command.
That seems to have worked well.
About Discuss Dropbox Developer & API
Make connections with 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!