We’re aware of an issue causing slower load times on the Dropbox Community forum. It should be resolved soon. Thanks for your patience! 

Forum Discussion

Dmitry_M's avatar
Dmitry_M
New member | Level 2
6 years ago

Single link to files from different folders

Hi! 

 

Right now if you have a link to a folder and if you add ?dl=1 query string to the URL, dropbox automatically generates an archive with files which user can download (from a website for example).

 

Is it possible to use dropbox API to generate a similar archive for a list of files that may be stored in different folders?

 

For example:

 

I have a list (array) of dropbox links: 

[
  https://www.dropbox.com/file1,
  https://www.dropbox.com/file2,
  https://www.dropbox.com/file3,
]

and then I pass this array of links to dropbox API and the API respond with the link to a single archive with all these files 

api
  .getArchive(listOfFiles)
  .then((response)) // response - link to archive with files inside

Is it possible to do something like this?

2 Replies

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    6 years ago

    No, unfortunately the Dropbox API doesn't offer anything like that, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. 

About Discuss Dropbox Developer & API

Node avatar for Discuss Dropbox Developer & API
Make connections with 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!