Learn how to make the most out of the Dropbox Community here 💙!

Forum Discussion

datanerd916's avatar
datanerd916
New member | Level 2
4 years ago
Solved

Can the API be used to force a sync while PC is asleep

I have a python script running on a Windows server that writes a file to a local folder in the middle of the night, but dropbox does not sync until the next time I manually log into the box.  Is ther...
  • Greg-DB's avatar
    4 years ago

    The Dropbox API does not offer functionality for controlling the desktop client like that, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.

     

    You may want to consider instead using the Dropbox API to upload the file, which is done by communicating directly with the Dropbox API servers (and not the local filesystem/client). We have an official Python SDK, and the Getting Started and File Access guides may be helpful.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,972 PostsLatest Activity: 14 hours ago
366 Following

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 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!