The Community is undergoing an upgrade and some features may be unavailable. Find out more 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:
- Greg-DBDropbox StaffThe 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:- DboxDeveloperExplorer | Level 3
Thanks I forgot there was a continue api.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,874 PostsLatest Activity: 10 hours agoIf 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!