Download zip file from url in MATLAB
    32 views (last 30 days)
  
       Show older comments
    
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.
0 Comments
Accepted Answer
  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
 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.
  Stephen23
      
      
 on 14 Aug 2025
				More Answers (0)
See Also
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!



