如何FTP从Unix终端获取此文件?
ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz
我的尝试:
/home# ftp
-bash: ftp: command not found
/home# sftp ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz
ssh: Could not resolve hostname
ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz:
Name or service not known
/home# sftp ftp.imagemagick.org
root@ftp.imagemagick.org's password:
Permission denied, please try again.
答案 0 :(得分:3)
如果你的系统有wget
,使用它绝对是最简单的选择。只是做:
wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz