Effacer les filtres
Effacer les filtres

problem with opening a 'ftp' link in Matlab

1 vue (au cours des 30 derniers jours)
Farz Tak
Farz Tak le 15 Oct 2015
Commenté : Farz Tak le 15 Oct 2015
I am trying to open "ftp://sidads.colorado.edu/pub/DATASETS/nsidc0032_ease_grid_tbs/global/2013" with ftp function. This link does not need user and pass. It fails. Any help?

Réponse acceptée

Thorsten
Thorsten le 15 Oct 2015
f = ftp('sidads.colorado.edu')
data = mget(f, 'pub/DATASETS/nsidc0032_ease_grid_tbs/global/2013');
  3 commentaires
Thorsten
Thorsten le 15 Oct 2015
You first connect, and then get the data. That is the usual procedure. Otherwise you would need to establish a connection for every data set you want to download. For further information, check
help ftp
Farz Tak
Farz Tak le 15 Oct 2015
Thank you.

Connectez-vous pour commenter.

Plus de réponses (0)

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by