Do File and/or Folder Ids ever change?
AnsweredCan id values on files and folders can ever change once the file has been created? And are those values guaranteed to be unique?
I am currently writing an integration between box and a web portal, specifically to allow users to download documents uploaded into box via another system.
Right now my process is:
- Search for file using filename
- Validate that the file is correct.
- Download the file.
What I would like to do is call steps 1 & 2, and then store off the file id. That way if a user calls download later, I can just specify the file id to download, instead of needing to search. This only works if the id doesn't change though.
Thanks!
-
Hi ,
Welcome to the Box Community and thanks for your first post in the forum!
You're correct that file and folder ID's never change. Once created, it has a unique ID that does not change despite moving it, renaming it or adding more content to the folder. Hope that helps your query!
Post is closed for comments.
Comments
3 comments