cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Check out the Dropbox cheat sheet for getting started in 2021 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

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

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

New member | Level 2

Thanks for the answer!)

Polls
Are you starting new work habits this year?

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?