ram1
ram1

Reputation: 6470

FTP GET terminal syntax

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

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

My attempts:

/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
[email protected]'s password:
Permission denied, please try again.

Upvotes: 0

Views: 519

Answers (1)

kba
kba

Reputation: 19466

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

Upvotes: 3

Related Questions