We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.

Forum Discussion

Kyri's avatar
Kyri
Explorer | Level 4
7 years ago

Check sync status of dropbox app, programmatically via c++ or api

I wonder if it is possible to tell when dropbox is syncing programmatically,

ideally indirectly via c++

for example let's assume that when dropbox is syncing it writes a tinly .txt or .xml etc file somewhere in its programFiles directory

a developer can check that file (read only) and get dropbox status?

or via the dropbox api??

 

kind regards..

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    No, unfortunately Dropbox doesn't offer a way to check the client status programmatically, but I'll pass this along as a feature request. 

    • Здравко's avatar
      Здравко
      Legendary | Level 20

      Hi Greg-DB,

      Actually it's possible, but is platform dependent and available only for Dropbox on Linux. :wink: Take a look in the socket "~/.dropbox/command_socket".

      Kyri, If your platform is Linux, you are happy, otherwise - have to hope something will change.

      • Kyri's avatar
        Kyri
        Explorer | Level 4

        I am currently using Windows SRV for this project unfortunately