Download zip file from url in MATLAB

37 visualizaciones (últimos 30 días)
PeymanS
PeymanS el 7 de Jun. de 2022
Comentada: Stephen23 el 14 de Ag. de 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.

Respuesta aceptada

Sourav Sukumaran
Sourav Sukumaran el 29 de Jun. de 2022
Hi,
Please refer to this MATLAB Answer.You have to use the websave option with the your url and filename
Thanks
  3 comentarios
Damon
Damon el 13 de Ag. de 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 el 14 de Ag. de 2025
@Damon: make a bug report / enhancement request: https://www.mathworks.com/support/contact_us.html

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Downloads en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by