One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
rhernandez8305
8 years agoHelpful | Level 6
Recently modified Direcories or files
How can I know if a directory or files has been modify before download it.
- Greg-DB
Dropbox Staff
The best way to keep track of changes in folders via the API is to use the /2/files/list_folder[/continue] endpoints. By storing and re-using the latest cursor you received and calling back to /2/files/list_folder/continue when desired, you can see just what changed, if anything. The documentation for those endpoints contains more information.
For reference, there are corresponding native methods for those endpoints in the official SDKs, such as ListFolder and ListFolderContinue in the .NET SDK, for example.
- rhernandez8305Helpful | Level 6
Thanks for reply! I had test the functions but the cursor value change in each request, just the files' hash value is the same. With the files' hash value I know if the file changed but the dictories I don't know how do it, the directories doesn´t have hash value.
Thanks.
- Greg-DB
Dropbox Staff
What kind of "change" for the folder are you looking for exactly? By storing and re-using the latest cursor you received, you can get any/all changes in the folder. If you want to receive changes in subfolders too, set recursive=true.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,948 PostsLatest Activity: 4 hours ago
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!