cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to know what we learned at IBC? Check out our learnings on media, remote working and more 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: 

local vs online only - how to tell programatically?

local vs online only - how to tell programatically?

Ed T.2
Explorer | Level 4

I have an app that allows users to store files in Dropbox.  If the local directory is known, I look for the content there, else I use the API.  With the advent of local vs online-only, files that I linked as local are no longer opening since they have not yet or are not going to be local.

 

How can I tell if a file is local or just has a placeholder locally?  Is there a better way to handle this situation?

1 Reply 1

Greg-DB
Dropbox Staff

Unfortunately the Dropbox API doesn't offer a way to programmatically check the online only status of any particular file or folder, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.

 

Online-only files should be automatically downloaded when opened though, except currently on macOS 12.3. That's not part of the API itself though, so if that's not working as expected for you, you may want to open a thread in "Installs & integrations" or contact support.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?