Learn how to make the most out of the Dropbox Community here 💙!
Forum Discussion
Anil
9 years agoExplorer | Level 4
Search all files using searchbuilder
I am trying to list all files in the folder using searchBuilder, when I passing the multiple extensions passing in Query which results Zero values. For Eg: String query = ".pdf"; Long max = 100L;...
Greg-DB
Dropbox Staff
9 years agoThe search functionality doesn't support searching for files with one or more of the search terms. It works by searching for all of them. We'll consider this a feature request.
Instead, you should either make multiple search calls, one per file type, or use listFolder and listFolderContinue to list all files in a given folder, and filter them as desired.
Anil
9 years agoExplorer | Level 4
Thanks Greg for the QuickReply. Currently i am using ListFolder and it will take some if the folder has 10000 files or more. What i am trying to do is to load limited files for better UI experiences for eg: 100 and another set of 100 files only when user demands. Is any options for listing files with limit in ListFolder API?
- Greg-DB9 years ago
Dropbox Staff
No, ListFolder doesn't allow you to configure the page size, but I'll be sure to pass this along as a feature request as well.- Anil9 years agoExplorer | Level 4
Thanks Greg for your support.
- Greg-DB8 years ago
Dropbox Staff
You can now set an approximate limit on the listFolder page size by using ListFolderBuilder.withLimit.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,972 PostsLatest Activity: 4 hours ago
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!