Download zip file from url in MATLAB

31 次查看(过去 30 天)
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.

采纳的回答

Sourav Sukumaran
Sourav Sukumaran 2022-6-29
Hi,
Please refer to this MATLAB Answer.You have to use the websave option with the your url and filename
Thanks
  3 个评论
Damon
Damon 2025-8-13
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.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Downloads 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by