cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
We're looking to hear about your experience when using Dropbox in a web browser. What parts of Dropbox feels very slow to you and takes a lot of time to get done? What are you trying to do in the Dropbox web browser when you experience slowness? Tell us right here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
1
Ask
2
Comments

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

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

datanerd916
New member | Level 2

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 there a way to include an API call in my python script that will force an immediate sync as soon as my file is written without requiring any manual intervention?

1 Accepted Solution

Accepted Solutions

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

Greg-DB
Dropboxer

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.

View solution in original post

2 Replies 2

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

Greg-DB
Dropboxer

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.

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

datanerd916
New member | Level 2

Thank you! I was able to do it the way you suggested

Need more support?