Hello!
We’re building a web app that integrates with Dropbox, and we’re trying to replicate the Dropbox web UI behavior where a user selects a few files in a folder and downloads them as a zip.
From the API docs, we can:
- Use filesDownload to download one file
- Use filesDownloadZip to download an entire folder
But I haven’t found a way to zip and download a specific list of files (not the whole folder) — which is something the Dropbox UI handles very quickly and smoothly.
Workaround we’re using now:
We copy selected files into a temp folder, then call filesDownloadZip on that folder. It works but is slow — especially with many small files — because copy operations seem to run sequentially.
Questions:
- Is there an API to zip a custom list of files (like the UI)?
- If not, is there a way to copy files concurrently or batch them efficiently?
- Any best practices for speeding this up?
We’re aiming to match the performance and simplicity of the Dropbox UI experience inside our app. Any advice would be greatly appreciated!
Thanks,
Howard