problem with opening a 'ftp' link in Matlab

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?

 채택된 답변

Thorsten
Thorsten 2015년 10월 15일

0 개 추천

f = ftp('sidads.colorado.edu')
data = mget(f, 'pub/DATASETS/nsidc0032_ease_grid_tbs/global/2013');

댓글 수: 3

Farz Tak
Farz Tak 2015년 10월 15일
That perfectly worked, Thank you. i am just wondering why? Is there any special way of writing the link (excluding some parts?)?
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 2015년 10월 15일
Thank you.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품

태그

질문:

2015년 10월 15일

댓글:

2015년 10월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by