We Want to Hear From You! What Do You Want to See on the Community? Tell us here!
Forum Discussion
Adam D.19
10 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!
4 Replies
Replies have been turned off for this discussion
- Adam D.1910 years agoNew member | Level 1
Sorry, the documentation does contain the language "A unique identifier for the file".
However, the global uniqueness is still ambiguous.
- Greg-DB10 years ago
Dropbox Community Moderator
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.
- Adam D.1910 years agoNew 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?
- Greg-DB10 years ago
Dropbox Community Moderator
No, in that case they would have distinct IDs.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,035 PostsLatest Activity: 3 years ago
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
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!