We Want to Hear From You! What Do You Want to See on the Community? Tell us here!
Forum Discussion
DboxDeveloper
8 years agoExplorer | Level 3
Objective C [[_dbUserClient.filesRoutes listFolder:_rootDropboxPath] limit number of files listed
When someone list the contents of a folder [[_dbUserClient.filesRoutes listFolder:_rootDropboxPath] is there a limit of 1000 files shown?
In my app when I have a list of 6000 files in a folder there are some files not showing up.
- The listFolder response is paged, so a single response isn't guaranteed to return all of the entries in the folder. You need to check the hasMore value and call back to listFolderContinue if it is true.
There's more information on this in the documentation for listFolder:
https://dropbox.github.io/dropbox-sdk-obj-c/api-docs/latest/Classes/DBFILESUserAuthRoutes.html#/c:objc(cs)DBFILESUserAuthRoutes(im)listFolder:
2 Replies
- Greg-DB8 years ago
Dropbox Community Moderator
The listFolder response is paged, so a single response isn't guaranteed to return all of the entries in the folder. You need to check the hasMore value and call back to listFolderContinue if it is true.
There's more information on this in the documentation for listFolder:
https://dropbox.github.io/dropbox-sdk-obj-c/api-docs/latest/Classes/DBFILESUserAuthRoutes.html#/c:objc(cs)DBFILESUserAuthRoutes(im)listFolder: - DboxDeveloper8 years agoExplorer | Level 3
Thanks I forgot there was a continue api.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,037 PostsLatest Activity: 39 minutes 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!