Your workflow is unique đšâđ» - tell us how you use Dropbox 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.
rhernandez8305
8 years agoHelpful | 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 Community Moderator
8 years agoWhat 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.
- rhernandez83058 years agoHelpful | Level 6
Did you have an example, I got a diferent cursor value in each request although the folder donÂŽt have changes.
var list3 = await dbx.Files.ListFolderAsync(string.Empty);
first request
list3.Cursor = AAG88yckZh...
second request
list3.Curso=AAHI9m7iCl...
never is the same cursor value.
- Greg-DB8 years ago
Dropbox Community Moderator
You will get a different cursor each time, but the cursor itself doesn't tell you about the contents anyway. You should refer to the 'entries' list in the response to see what, if anything, changed under that folder.
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
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, Facebook or Instagram.
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!