Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Jonathan M.17
8 years agoNew member | Level 2
Files ListFolder and ListFolderContinue slow
I have been using the API Files.ListFolder and ListFolderContinue to fetch meta data of all my files and folders. Functionally it is working but each request takes 3-8 seconds to come back with the p...
Jonathan M.17
8 years agoNew member | Level 2
Thanks Greg for the helpful reply :)
As it is only the initial fetch that takes time I can probably live with it for now. I next need ot understand how to monitor for changes after I have a model of the content. I couldn't find a clear pattern in the API docs, is there one? My assumption is that I can hold the cursor from my last call to ListFolderContinue and periodically check this. How long are the cursors valid for?
Greg-DB
Dropbox Community Moderator
8 years agoThat's correct, you should store the last cursor you received and occasionally call back to ListFolderContinue using it to retrieve entries for just the things that have changed since the last time you called.
Cursors don't expire, but they can become invalid in some (relatively rare) scenarios, so make sure you handle ListFolderContinueError.Reset:
https://dropbox.github.io/dropbox-sdk-dotnet/html/T_Dropbox_Api_Files_ListFolderContinueError_Reset.htm
Cursors don't expire, but they can become invalid in some (relatively rare) scenarios, so make sure you handle ListFolderContinueError.Reset:
https://dropbox.github.io/dropbox-sdk-dotnet/html/T_Dropbox_Api_Files_ListFolderContinueError_Reset.htm
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!