开发者

FTP GET terminal syntax

开发者 https://www.devze.com 2023-03-18 01:41 出处:网络
How do I FTP GET this file from a Unix terminal? ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz

How do I FTP GET this file from a Unix terminal?

ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz

My attemp开发者_运维问答ts:

/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.


If your system has wget, using this would most definitely be the easiest choice. Just do:

wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz
0

精彩评论

暂无评论...
验证码 换一张
取 消