我想从ftp://ftp.hermes.acri.fr下载netCDF产品。 我在Windows系统的cygwin软件包中使用了wget 。 我的访问数据的链接地址是ftp://ftp.hermes.acri.fr/691969751 ,我的用户名和密码是user:ftp_hermes password:hermes% 。 所以我input这个命令:
wget ftp://ftp_hermes:hermes%@ftp.hermes.acri.fr/691969751
我收到了这个消息:
--2017-10-30 13:16:18-- ftp://ftp_hermes:*password*@ftp.hermes.acri.fr/691969751 => '691969751' Resolving ftp.hermes.acri.fr... 213.244.27.35 Connecting to ftp.hermes.acri.fr|213.244.27.35|:21... connected. Logging in as ftp_hermes ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD not needed. ==> SIZE 691969751 ... done. ==> PASV ... done. ==> RETR 691969751 ... No such file '691969751'.
任何人都有线索?
看来你正在recursion地下载文件夹。 通过-r参数,它应该从FTP服务器下载数据。
wget ftp://ftp.hermes.acri.fr/691969751 --ftp-user=ftp_hermes --ftp-pass=hermes% -r or wget ftp://ftp_hermes:hermes%@ftp.hermes.acri.fr/691969751 -r