You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
Adam D.19
9 years agoNew member | Level 1
Are file ids globally unique?
The documentation doesn't say anything about file ids being unique at all, whereas this blog post leads me to believe they're unique per user, but not necessarily globally unique. Are file ids globally unique?
Thank you!
- Greg-DBDropbox Staff
Apologies we don't have better documentation on this right now! I'll send this along as a request for some.
To answer your actual question though, there are a few things to note:
- file IDs are not content hashes. That is, files with the same exact content in two unrelated accounts will have different IDs.
- a single file in a shared folder with multiple users will be report the same file ID when requested via any one of the different members of the shared folder.
- Greg-DBDropbox Staff
No, in that case they would have distinct IDs.
- Adam D.19New member | Level 1
Sorry, the documentation does contain the language "A unique identifier for the file".
However, the global uniqueness is still ambiguous.
- Adam D.19New member | Level 1
Gregory, Thank you very much for your reply. I understand that a single file in a shared folder with multiple users will report the same file ID for each user. My question is: is it possible for two different files with different content in two unrelated accounts to have the same file id?
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,882 PostsLatest Activity: 7 days agoIf 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!