Find links on a website

Hi,
I'm using Matlab to download each of the files found here: <ftp://podaac-ftp.jpl.nasa.gov/allData/grace/L2/CSR/RL05/>. Is there a way to automatically populate a list of each of these .gz files so I don't have to enter each file name manually?
Thanks! Chad

 채택된 답변

Chad Greene
Chad Greene 2012년 6월 27일

1 개 추천

I figured it out:
urls=urlread('ftp://podaac-ftp.jpl.nasa.gov/allData/grace/L2/CSR/RL05/');
urldata = textscan(urls,'%s %f %s %s %f %s %f %s %s');
urllist = urldata{9};

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Downloads에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by