Download zip file from url in MATLAB

55 次查看(过去 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
  1 个评论
Voss
Voss 2022-7-2
url = 'http://icgem.gfz-potsdam.de/getseries/01_GRACE/CSR/CSR Release 06/96x96/unfiltered';
filename = './unfiltered.zip';
websave(filename,url);
ls *.zip
unfiltered.zip
unzip unfiltered.zip
ls
GSM-2_2002095-2002120_GRAC_UTCSR_BB01_0600.gfc GSM-2_2005335-2005365_GRAC_UTCSR_BB01_0600.gfc GSM-2_2009121-2009151_GRAC_UTCSR_BB01_0600.gfc GSM-2_2013032-2013057_GRAC_UTCSR_BB01_0600.gfc GSM-2_2002123-2002137_GRAC_UTCSR_BB01_0600.gfc GSM-2_2006001-2006031_GRAC_UTCSR_BB01_0600.gfc GSM-2_2009152-2009181_GRAC_UTCSR_BB01_0600.gfc GSM-2_2013101-2013120_GRAC_UTCSR_BB01_0600.gfc GSM-2_2002213-2002243_GRAC_UTCSR_BB01_0600.gfc GSM-2_2006032-2006059_GRAC_UTCSR_BB01_0600.gfc GSM-2_2009182-2009212_GRAC_UTCSR_BB01_0600.gfc GSM-2_2013121-2013151_GRAC_UTCSR_BB01_0600.gfc GSM-2_2002244-2002273_GRAC_UTCSR_BB01_0600.gfc GSM-2_2006060-2006090_GRAC_UTCSR_BB01_0600.gfc GSM-2_2009213-2009243_GRAC_UTCSR_BB01_0600.gfc GSM-2_2013152-2013181_GRAC_UTCSR_BB01_0600.gfc GSM-2_2002274-2002304_GRAC_UTCSR_BB01_0600.gfc GSM-2_2006091-2006120_GRAC_UTCSR_BB01_0600.gfc GSM-2_2009244-2009273_GRAC_UTCSR_BB01_0600.gfc GSM-2_2013182-2013212_GRAC_UTCSR_BB01_0600.gfc GSM-2_2002305-2002334_GRAC_UTCSR_BB01_0600.gfc GSM-2_2006121-2006151_GRAC_UTCSR_BB01_0600.gfc GSM-2_2009274-2009304_GRAC_UTCSR_BB01_0600.gfc GSM-2_2013274-2013304_GRAC_UTCSR_BB01_0600.gfc GSM-2_2002335-2002365_GRAC_UTCSR_BB01_0600.gfc GSM-2_2006152-2006181_GRAC_UTCSR_BB01_0600.gfc GSM-2_2009305-2009334_GRAC_UTCSR_BB01_0600.gfc GSM-2_2013305-2013334_GRAC_UTCSR_BB01_0600.gfc GSM-2_2003001-2003031_GRAC_UTCSR_BB01_0600.gfc GSM-2_2006182-2006212_GRAC_UTCSR_BB01_0600.gfc GSM-2_2009335-2009365_GRAC_UTCSR_BB01_0600.gfc GSM-2_2013335-2013365_GRAC_UTCSR_BB01_0600.gfc GSM-2_2003032-2003059_GRAC_UTCSR_BB01_0600.gfc GSM-2_2006213-2006243_GRAC_UTCSR_BB01_0600.gfc GSM-2_2010001-2010031_GRAC_UTCSR_BB01_0600.gfc GSM-2_2014001-2014016_GRAC_UTCSR_BB01_0600.gfc GSM-2_2003060-2003090_GRAC_UTCSR_BB01_0600.gfc GSM-2_2006244-2006273_GRAC_UTCSR_BB01_0600.gfc GSM-2_2010032-2010059_GRAC_UTCSR_BB01_0600.gfc GSM-2_2014062-2014090_GRAC_UTCSR_BB01_0600.gfc GSM-2_2003091-2003120_GRAC_UTCSR_BB01_0600.gfc GSM-2_2006274-2006304_GRAC_UTCSR_BB01_0600.gfc GSM-2_2010060-2010090_GRAC_UTCSR_BB01_0600.gfc GSM-2_2014091-2014120_GRAC_UTCSR_BB01_0600.gfc GSM-2_2003121-2003141_GRAC_UTCSR_BB01_0600.gfc GSM-2_2006305-2006334_GRAC_UTCSR_BB01_0600.gfc GSM-2_2010091-2010120_GRAC_UTCSR_BB01_0600.gfc GSM-2_2014121-2014151_GRAC_UTCSR_BB01_0600.gfc GSM-2_2003182-2003212_GRAC_UTCSR_BB01_0600.gfc GSM-2_2006335-2006365_GRAC_UTCSR_BB01_0600.gfc GSM-2_2010121-2010151_GRAC_UTCSR_BB01_0600.gfc GSM-2_2014152-2014175_GRAC_UTCSR_BB01_0600.gfc GSM-2_2003213-2003243_GRAC_UTCSR_BB01_0600.gfc GSM-2_2007001-2007031_GRAC_UTCSR_BB01_0600.gfc GSM-2_2010152-2010181_GRAC_UTCSR_BB01_0600.gfc GSM-2_2014213-2014243_GRAC_UTCSR_BB01_0600.gfc GSM-2_2003244-2003273_GRAC_UTCSR_BB01_0600.gfc GSM-2_2007032-2007058_GRAC_UTCSR_BB01_0600.gfc GSM-2_2010182-2010212_GRAC_UTCSR_BB01_0600.gfc GSM-2_2014244-2014273_GRAC_UTCSR_BB01_0600.gfc GSM-2_2003274-2003304_GRAC_UTCSR_BB01_0600.gfc GSM-2_2007060-2007090_GRAC_UTCSR_BB01_0600.gfc GSM-2_2010213-2010243_GRAC_UTCSR_BB01_0600.gfc GSM-2_2014274-2014304_GRAC_UTCSR_BB01_0600.gfc GSM-2_2003305-2003334_GRAC_UTCSR_BB01_0600.gfc GSM-2_2007091-2007120_GRAC_UTCSR_BB01_0600.gfc GSM-2_2010244-2010273_GRAC_UTCSR_BB01_0600.gfc GSM-2_2014305-2014334_GRAC_UTCSR_BB01_0600.gfc GSM-2_2003335-2003365_GRAC_UTCSR_BB01_0600.gfc GSM-2_2007121-2007151_GRAC_UTCSR_BB01_0600.gfc GSM-2_2010274-2010304_GRAC_UTCSR_BB01_0600.gfc GSM-2_2015013-2015031_GRAC_UTCSR_BB01_0600.gfc GSM-2_2004001-2004013_GRAC_UTCSR_BB01_0600.gfc GSM-2_2007152-2007181_GRAC_UTCSR_BB01_0600.gfc GSM-2_2010305-2010334_GRAC_UTCSR_BB01_0600.gfc GSM-2_2015032-2015059_GRAC_UTCSR_BB01_0600.gfc GSM-2_2004035-2004060_GRAC_UTCSR_BB01_0600.gfc GSM-2_2007182-2007212_GRAC_UTCSR_BB01_0600.gfc GSM-2_2010335-2010361_GRAC_UTCSR_BB01_0600.gfc GSM-2_2015060-2015090_GRAC_UTCSR_BB01_0600.gfc GSM-2_2004061-2004091_GRAC_UTCSR_BB01_0600.gfc GSM-2_2007213-2007243_GRAC_UTCSR_BB01_0600.gfc GSM-2_2011039-2011059_GRAC_UTCSR_BB01_0600.gfc GSM-2_2015091-2015120_GRAC_UTCSR_BB01_0600.gfc GSM-2_2004092-2004121_GRAC_UTCSR_BB01_0600.gfc GSM-2_2007244-2007273_GRAC_UTCSR_BB01_0600.gfc GSM-2_2011060-2011090_GRAC_UTCSR_BB01_0600.gfc GSM-2_2015102-2015131_GRAC_UTCSR_BB01_0600.gfc GSM-2_2004122-2004152_GRAC_UTCSR_BB01_0600.gfc GSM-2_2007274-2007304_GRAC_UTCSR_BB01_0600.gfc GSM-2_2011091-2011120_GRAC_UTCSR_BB01_0600.gfc GSM-2_2015180-2015212_GRAC_UTCSR_BB01_0600.gfc GSM-2_2004153-2004182_GRAC_UTCSR_BB01_0600.gfc GSM-2_2007305-2007334_GRAC_UTCSR_BB01_0600.gfc GSM-2_2011121-2011151_GRAC_UTCSR_BB01_0600.gfc GSM-2_2015213-2015243_GRAC_UTCSR_BB01_0600.gfc GSM-2_2004183-2004213_GRAC_UTCSR_BB01_0600.gfc GSM-2_2007335-2007365_GRAC_UTCSR_BB01_0600.gfc GSM-2_2011186-2011212_GRAC_UTCSR_BB01_0600.gfc GSM-2_2015244-2015270_GRAC_UTCSR_BB01_0600.gfc GSM-2_2004214-2004244_GRAC_UTCSR_BB01_0600.gfc GSM-2_2008001-2008031_GRAC_UTCSR_BB01_0600.gfc GSM-2_2011213-2011243_GRAC_UTCSR_BB01_0600.gfc GSM-2_2015345-2016003_GRAC_UTCSR_BB01_0600.gfc GSM-2_2004245-2004274_GRAC_UTCSR_BB01_0600.gfc GSM-2_2008032-2008060_GRAC_UTCSR_BB01_0600.gfc GSM-2_2011244-2011273_GRAC_UTCSR_BB01_0600.gfc GSM-2_2016004-2016028_GRAC_UTCSR_BB01_0600.gfc GSM-2_2004275-2004305_GRAC_UTCSR_BB01_0600.gfc GSM-2_2008061-2008091_GRAC_UTCSR_BB01_0600.gfc GSM-2_2011274-2011304_GRAC_UTCSR_BB01_0600.gfc GSM-2_2016029-2016060_GRAC_UTCSR_BB01_0600.gfc GSM-2_2004306-2004335_GRAC_UTCSR_BB01_0600.gfc GSM-2_2008092-2008121_GRAC_UTCSR_BB01_0600.gfc GSM-2_2011289-2011319_GRAC_UTCSR_BB01_0600.gfc GSM-2_2016061-2016091_GRAC_UTCSR_BB01_0600.gfc GSM-2_2004336-2004366_GRAC_UTCSR_BB01_0600.gfc GSM-2_2008122-2008152_GRAC_UTCSR_BB01_0600.gfc GSM-2_2011347-2012011_GRAC_UTCSR_BB01_0600.gfc GSM-2_2016129-2016152_GRAC_UTCSR_BB01_0600.gfc GSM-2_2005001-2005031_GRAC_UTCSR_BB01_0600.gfc GSM-2_2008153-2008182_GRAC_UTCSR_BB01_0600.gfc GSM-2_2012001-2012031_GRAC_UTCSR_BB01_0600.gfc GSM-2_2016153-2016182_GRAC_UTCSR_BB01_0600.gfc GSM-2_2005032-2005059_GRAC_UTCSR_BB01_0600.gfc GSM-2_2008183-2008213_GRAC_UTCSR_BB01_0600.gfc GSM-2_2012032-2012060_GRAC_UTCSR_BB01_0600.gfc GSM-2_2016183-2016211_GRAC_UTCSR_BB01_0600.gfc GSM-2_2005060-2005090_GRAC_UTCSR_BB01_0600.gfc GSM-2_2008214-2008244_GRAC_UTCSR_BB01_0600.gfc GSM-2_2012061-2012091_GRAC_UTCSR_BB01_0600.gfc GSM-2_2016221-2016247_GRAC_UTCSR_BB01_0600.gfc GSM-2_2005091-2005120_GRAC_UTCSR_BB01_0600.gfc GSM-2_2008245-2008274_GRAC_UTCSR_BB01_0600.gfc GSM-2_2012080-2012109_GRAC_UTCSR_BB01_0600.gfc GSM-2_2016319-2016345_GRAC_UTCSR_BB01_0600.gfc GSM-2_2005121-2005151_GRAC_UTCSR_BB01_0600.gfc GSM-2_2008275-2008305_GRAC_UTCSR_BB01_0600.gfc GSM-2_2012153-2012182_GRAC_UTCSR_BB01_0600.gfc GSM-2_2016346-2017006_GRAC_UTCSR_BB01_0600.gfc GSM-2_2005152-2005181_GRAC_UTCSR_BB01_0600.gfc GSM-2_2008306-2008335_GRAC_UTCSR_BB01_0600.gfc GSM-2_2012183-2012213_GRAC_UTCSR_BB01_0600.gfc GSM-2_2017007-2017034_GRAC_UTCSR_BB01_0600.gfc GSM-2_2005182-2005212_GRAC_UTCSR_BB01_0600.gfc GSM-2_2008336-2008366_GRAC_UTCSR_BB01_0600.gfc GSM-2_2012214-2012244_GRAC_UTCSR_BB01_0600.gfc GSM-2_2017076-2017104_GRAC_UTCSR_BB01_0600.gfc GSM-2_2005213-2005243_GRAC_UTCSR_BB01_0600.gfc GSM-2_2009001-2009031_GRAC_UTCSR_BB01_0600.gfc GSM-2_2012245-2012269_GRAC_UTCSR_BB01_0600.gfc GSM-2_2017100-2017128_GRAC_UTCSR_BB01_0600.gfc GSM-2_2005244-2005273_GRAC_UTCSR_BB01_0600.gfc GSM-2_2009032-2009059_GRAC_UTCSR_BB01_0600.gfc GSM-2_2012311-2012335_GRAC_UTCSR_BB01_0600.gfc GSM-2_2017123-2017142_GRAC_UTCSR_BB01_0600.gfc GSM-2_2005274-2005304_GRAC_UTCSR_BB01_0600.gfc GSM-2_2009060-2009090_GRAC_UTCSR_BB01_0600.gfc GSM-2_2012336-2012366_GRAC_UTCSR_BB01_0600.gfc GSM-2_2017143-2017179_GRAC_UTCSR_BB01_0600.gfc GSM-2_2005305-2005334_GRAC_UTCSR_BB01_0600.gfc GSM-2_2009091-2009120_GRAC_UTCSR_BB01_0600.gfc GSM-2_2013001-2013031_GRAC_UTCSR_BB01_0600.gfc unfiltered.zip

请先登录,再进行评论。

更多回答(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