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

 Respuesta aceptada

Chad Greene
Chad Greene el 27 de Jun. de 2012

1 voto

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};

Más respuestas (0)

Categorías

Más información sobre Downloads en Centro de ayuda y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by