You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
anuradhasahoo
5 years agoExplorer | Level 3
Dropbox API to get file of given prefix
Hello Team,
Is there any api to download files from folder(for example: test) having filename with prefix(say: log_) using javascript.
- Greg-DBDropbox Staff
The Dropbox API doesn't offer a way to list/download files based on a particular prefix like this. You could use /2/files/list_folder[/continue] to list files and folders, filter the result to the desired files, and then download them using /2/files/download though.
Those are links to the documentation for the HTTPS endpoints themselves, but we recommend using one of the official SDKs if possible. Those have corresponding native methods for the HTTPS endpoints. For example, we do offer an official Dropbox API v2 JavaScript SDK. In that, the corresponding methods are: filesListFolder, filesListFolderContinue, and filesDownload.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,889 PostsLatest Activity: 28 minutes 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!