You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

Dvir's avatar
Dvir
New member | Level 2
2 years ago

download zip folder

i have a web site in js using php server.

I am trying to download zip folder threw php and get back zip folder to js

but the comuter gets stock.

how can i just get back a kink to the downloadzip folder?

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

    If you want to download a zip file (e.g., a folder that has already been uploaded to Dropbox as a .zip file), you can use /2/files/download to download the content directly, or /2/files/get_temporary_link to get a temporary directly link to the .zip file.

     

    If you want to download an entire (not already zipped) folder from Dropbox as a zip file, you can use /2/files/download_zip. Dropbox doesn't offer a way to get a link to a zipped version of a (not already zipped) folder.

     

    By the way, those are links to the documentation for the HTTPS endpoints themselves, but we recommend using one of the official SDKs if possible. Those have corresponding native methods for the HTTPS endpoints.

     

    If something isn't working as expected, I'll be happy to help with any issues you're having with the Dropbox API, but I'd need some more information. In that case, please reply with:

     

    • the name and version number of the platform and SDK/library you are using, if any
    • the steps to reproduce the issue, including relevant code snippet(s), but don't include any access or refresh token(s)
    • the full text of any error or unexpected output

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,910 PostsLatest Activity: 3 days ago
333 Following

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 or Facebook.

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!