Download zip file from url in MATLAB

37 views (last 30 days)
I would like to download a zip file from a url.
Here is the webpage:
and I would like to download "CSR_CSR-Release-06_96x96_unfiltered.zip"
Thanks in advance.

Accepted Answer

Sourav Sukumaran
Sourav Sukumaran on 29 Jun 2022
Hi,
Please refer to this MATLAB Answer.You have to use the websave option with the your url and filename
Thanks
  3 Comments
Damon
Damon on 13 Aug 2025
This doesn't work in many cases, it seems to just download an .html file pointing to the file you're telling it to download.
This bug really limits the utility of websave. Fixes using curl or other approaches are problematic. This is a very commonly used function (or would be if it worked) for many of us.
Please fix this bug.

Sign in to comment.

More Answers (0)

Categories

Find more on Downloads in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!