Download zip file from url in MATLAB

32 Ansichten (letzte 30 Tage)
PeymanS
PeymanS am 7 Jun. 2022
Kommentiert: Stephen23 am 14 Aug. 2025
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.

Akzeptierte Antwort

Sourav Sukumaran
Sourav Sukumaran am 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 Kommentare
Damon
Damon am 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.
Stephen23
Stephen23 am 14 Aug. 2025
@Damon: make a bug report / enhancement request: https://www.mathworks.com/support/contact_us.html

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Downloads finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by