cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Are you interested in hearing how one of our Community members uses Dropbox for sailing trips? Read all about it here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Re: Objective C [[_dbUserClient.filesRoutes listFolder:_rootDropboxPath] limit number of files list

Objective C [[_dbUserClient.filesRoutes listFolder:_rootDropboxPath] limit number of files listed

DboxDeveloper
Explorer | Level 3
Go to solution

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.

 

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution
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:ob...:

View solution in original post

2 Replies 2

Greg-DB
Dropbox Staff
Go to solution
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:ob...:

DboxDeveloper
Explorer | Level 3
Go to solution

Thanks I forgot there was a continue api.

Need more support?