in a Linux shell, can I get HTTP files like it's FTP?

crimson117

Platinum Member
Aug 25, 2001
2,094
0
76
On my (hosted) linux webserver, I find it convenient to download various plugins and applications via ftp directly to the webserver, without first downloading it to my windows xp computer, then uploading it to the webserver.

But not all sites have FTP for downloading. Is there any command in Linux to get files via http, such as http://linux-app-site.com/newlinuxapp.tar.gz ? Again, it's a hosted server, so I can't go install a gui desktop and mozilla or anything.
 

ugh

Platinum Member
Feb 6, 2000
2,563
0
0
wget will do the job just fine. Just perform a:

wget <filename>
 

crimson117

Platinum Member
Aug 25, 2001
2,094
0
76
Originally posted by: ugh
wget will do the job just fine. Just perform a:

wget <filename>
Cool, thanks. So wget http://www.thesite.com/thefileiwant.txt will download the file?

 

Crusty

Lifer
Sep 30, 2001
12,684
2
81
Yep it's great for setting up pre-made scripts on a unix webserver. Saved me soooo much time just downloading the files directly instead of putting on my box then uploading them to the server :)