cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Whether you are transferring a single drive, a team or an entire organization, Movebot's cloud migration tool has been built to make your Dropbox migration simple - learn all about it here.

Discuss Dropbox Developer & API

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Single link to files from different folders

Single link to files from different folders

Dmitry_M
New member | Level 2

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 2

Re: Single link to files from different folders

Greg-DB
Dropboxer

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. 

Re: Single link to files from different folders

Dmitry_M
New member | Level 2

Thanks for the answer!)

Who's talking

Top contributors to this post

  • User avatar
    Dmitry_M New member | Level 2
  • User avatar
    Greg-DB Dropboxer
What do Dropbox user levels mean?
Need more support?