Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

Julien_Do's avatar
Julien_Do
Explorer | Level 3
7 years ago
Solved

Download zip folder directly to client side

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!

  • 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. 

2 Replies

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

    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's avatar
    JulienDo
    Explorer | Level 3
    7 years ago

    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!

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from 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!