Forum Discussion

Dmitry_M's avatar
Dmitry_M
New member | Level 2
5 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?

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    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.