cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn more about Dropbox Replay? We’ve just launched a brand new group, find out how to join 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: 

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
Go to solution

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

Greg-DB
Dropbox Staff
Go to solution

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

Greg-DB
Dropbox Staff
Go to solution

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.

datanerd916
New member | Level 2
Go to solution

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

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    datanerd916 New member | Level 2
  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?