We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here. 

Forum Discussion

vsTheijs's avatar
vsTheijs
Explorer | Level 4
6 years ago

Determine which file is which in .dropbox.cache.

I am trying to make a dropbox integration that takes into account both the web API and the desktop client. The desktop client doesn't have an API of its own, so I have to use some hacks to get what I want. I can already map local files to online files by using the JSON file to find the root folder. As shown here https://help.dropbox.com/installs-integrations/desktop/locate-dropbox-folder

However, I would also like to know the sync progress of files. I see that whenever I sync something, the file is first downloaded to ".dropbox.cache\new_files". It seems to have some random name (which is not the ID of the file).

Is there any way to determine which file is being synced by looking in the new_files folder? The idea is to then show progress by dividing the size on disk of that file by the online file size.

Does anyone have an idea how I could match this temporary file to the actual file?

  • No, unfortunately Dropbox doesn't offer any way to check the desktop client sync status or identify files in the cache 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's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    No, unfortunately Dropbox doesn't offer any way to check the desktop client sync status or identify files in the cache like this, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. 

    • vsTheijs's avatar
      vsTheijs
      Explorer | Level 4

      Hi Greg, thanks for the input.

      Do you know if there could be any other creative ways to check the sync status? When something is being synced, it shows this blue arrow icon. I guess it is stored somewhere on that file to tell file explorer which icon to show. Do you know if there is a way to get that information from that file? (I'm only interested in Windows.)

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

        I don't know of any ways to do so unfortunately. I couldn't recommend any unofficial/unsupported methods anyway, as they'd be subject to change without notice.

About Discuss Dropbox Developer & API

Node avatar for Discuss Dropbox Developer & API

Make connections with other developers

795 PostsLatest Activity: 5 days ago
192 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!