Syndicate content

curl

Dec 13
1

Downloading via SSH to a server with wget and lynx disabled

Wed, 2006-12-13 22:42 — superuser

Imagine my suprise when I logged into a reseller account via SSH and got the following:

-bash-3.00$ wget
-bash: wget: command not found
-bash-3.00$ lynx
-bash: lynx: command not found

Obviously these days no-one likes to SCP or FTP files around and its always nice to download straight from the source. If you are getting the above on a general LAMP server it's very likely curl is still on there, the following command works a treat.

curl -LO http://domain.org/some-large-file.tar.gz