Your workflow is unique 👨‍💻 -  tell us how you use Dropbox here.

Forum Discussion

Andrew V.1's avatar
Andrew V.1
Explorer | Level 4
11 years ago

Search & Download from Dropbox Folder by filename

Hello,

I want to create a file retriever on my website that is a simple input text box. My clients can enter a particular code I provide them with and if their code matches the filename of one of the files in that folder, the file will download to their computer.

I am a photographer and am trying to automate the way that clients get their digital files from me. Each client is already assigned a unique identifier and my software is capable of outputting their photo as their-code.jpg. So, if I could write a web app of some sort that takes their-code and searches my dropbox folder for any files with that filename and if found, starts a download. It would be a lifesaver.

Anybody ever heard of anything like this? Any ideas on how to accomplish it?

Thanks!

1 Reply

Replies have been turned off for this discussion
  • Here's the documentation for /search, which should help you find all the right files.

    Then you can call /files (GET) to fetch the contents of each file.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

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, Facebook or Instagram.

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!