필터 지우기
필터 지우기

Cannot find file off FTP server?

조회 수: 2 (최근 30일)
Ryan
Ryan 2015년 7월 1일
댓글: Walter Roberson 2015년 7월 1일
Trouble downloading off FTP server; says "file" cannot be found on the server.
These is the directory for the files I want to download: <ftp://ftp.cpc.ncep.noaa.gov/precip/CPC_UNI_PRCP/GAUGE_GLB/V1.0/1979/>
This is my code for downloading:
f = ftp('ftp.cpc.ncep.noaa.gov','anonymous','roates@nobleagri.com');
cd(f,'/precip/CPC_UNI_PRCP/GAUGE_GLB/V1.0/1979/');
mget(f,'PRCP_CU_GAUGE_V1.0GLB_0.50deg.lnx.19790101.gz')
I've checked with IT and they are certain it should not be firewall related.
Help Help Help! Thank you!
Ryan
  댓글 수: 1
Walter Roberson
Walter Roberson 2015년 7월 1일
When I try, I notice that dir(f) shows no results, as if the directory was empty. Whatever is blocking directory is probably also blocking mget.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 FTP File Operations에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by