cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

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

Download zip folder directly to client side

Download zip folder directly to client side

Julien_Do
Explorer | Level 3
Go to solution

Hi,

We can download a file directly from a TemporaryLink and like that there is no need to download the file first to the server. Is there a way to give a zip file to a client without the need to have it first on my server?

Tanks in advance!

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution

If you mean you want to be able to get a zip download for a folder on Dropbox (like the /2/files/download_zip endpoint offers), but via a temporary link (like how the /2/files/get_temporary_link endpoint offers for files), no, unfortunately the Dropbox API doesn't offer that. I'll pass this along as a feature request, but I can't promise if or when that might be implemented though. 

You could technically do this by calling /2/files/download_zip (or the corresponding method if using an SDK) directly from the client, but that would require you to trust the client with possessing the access token. 

View solution in original post

2 Replies 2

Greg-DB
Dropbox Staff
Go to solution

If you mean you want to be able to get a zip download for a folder on Dropbox (like the /2/files/download_zip endpoint offers), but via a temporary link (like how the /2/files/get_temporary_link endpoint offers for files), no, unfortunately the Dropbox API doesn't offer that. I'll pass this along as a feature request, but I can't promise if or when that might be implemented though. 

You could technically do this by calling /2/files/download_zip (or the corresponding method if using an SDK) directly from the client, but that would require you to trust the client with possessing the access token. 

JulienDo
Explorer | Level 3
Go to solution

Ok Greg, Thanks. I was just looking to save some time from the downloading the file on the server.  If it is a big folder it may take a while while downloading it on the server. But if there is no possibility aparentely i will have to do it that way. Thanks Again!

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    JulienDo Explorer | Level 3
  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?