One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
FJBDev
5 years agoHelpful | Level 5
Listing folder and specify a depth level of recursivity
Is it possible to specify a depth level of recursivity when reading a folder as below ?
ListFolderResult folderResult = client.files().listFolderBuilder(target) .withRecursive(true)
.start();
I don't see anything obvious in the doc: https://dropbox.github.io/dropbox-sdk-java/api-docs/v2.0.x/com/dropbox/core/v2/files/ListFolderBuilder.html
Thanks
- Greg-DB
Dropbox Staff
No, unfortunately the API doesn't offer the ability to set a specific depth of entries to return, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,950 PostsLatest Activity: 46 minutes 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!