【发布时间】:2012-11-09 14:42:58
【问题描述】:
我可以在 Linux 命令行上使用 wget 命令从另一台服务器下载文件,例如:
wget ftp_site_name/file_name
但是当我在 perl 脚本中运行 wget 时,我无法下载相同的文件
system "/usr/bin/wget ftp_site_name/file_name";
或
system "wget ftp_site_name";
这里是错误信息的sn-p:
Resolving ftp site ...xx.xx.x.xx
Connecting to ftp site|xx.xx.x.xx|:xx... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD (1) /pub/??/??/ ...
No such directory `pub/??/??/'.
有什么建议吗?
【问题讨论】:
-
那些
??是在你使用的路径中,还是只是一些匿名化?