We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
MWS-TSG
5 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...
- 5 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.
Greg-DB
Dropbox Staff
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
5 years agoExplorer | Level 3
Greg, thanks for the confirmation of what I saw elsewhere (but needed checking).
My half-baked ideas of the API would have me expect that the API is running on the Dropbox server, which might not even yet know that the file had been changed if the syncing hasn’t yet started, in which case a server API call would be unreliable anyway.
Would you know anything about interrogating the local machine using file attributes or the Dropbox service?
My half-baked ideas of the API would have me expect that the API is running on the Dropbox server, which might not even yet know that the file had been changed if the syncing hasn’t yet started, in which case a server API call would be unreliable anyway.
Would you know anything about interrogating the local machine using file attributes or the Dropbox service?
- Greg-DB5 years agoDropbox Staff
That's correct. The Dropbox API operates by communicating with the Dropbox servers, so information about unstarted or incomplete activity from desktop clients wouldn't be available anyway.
I'm afraid I don't have any information to offer about inspecting local file attributes or the local Dropbox client/service. I can't recommend doing so anyway as that's not officially documented for use as a programmatic interface like this, and so is subject to change.
- MWS-TSG5 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-DB5 years agoDropbox Staff
Hi 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!
About Discuss Dropbox Developer & API
Make connections with other developers
795 PostsLatest Activity: 7 days agoIf 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 or Facebook.
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!