I tried to download a text file from NOAA server using this code:
clear mw = ftp('ftp.ncdc.noaa.gov'); dir(mw) mget(mw, 'ghcnd-stations.txt'); end
After taking a while to run it, I got the next error: Error using ftp/mget (line 106) File "ghcnd-stations.txt" not found on server.
Then, I modified the last line with:
mget(mw, 'ghcnd-stations.txt', 'pub/data/ghcn/daily');
and later with:
mget(mw, 'pub/data/ghcn/daily', 'ghcnd-stations.txt');
But, there is still an error.
Any guidance is appreciated.
Best Answer