Web Hosting Talk







View Full Version : Downloading from an http address in SSH


6dhosting.com
06-07-2004, 12:10 PM
This might be a n00b question, but I've been looking for the answer forever. Does anyone know how I can download a file to my remote server through SSH from a http address?? I know that you can ftp into ftp addresses, but what about http addresses??

Tracert
06-07-2004, 12:15 PM
uh, same thing...


wget URL...

6dhosting.com
06-07-2004, 12:25 PM
so you mean if I wanted to get let's say a file at htt.p://ww.w.6dhosting.com/file.zip all I would have to do at the SSH prompt is type wget htt.p://w.ww.6dhosting.com/file.zip ???

Tracert
06-07-2004, 12:32 PM
login as: root
root@***.***.***.***'s password:

root@web [~]# cd public_html
root@web [~/public_html]# wget http://www.fibernexus.com/yarrow-i386-disc1.iso

PUSH ENTER

It starts downloading...

Ctrl C to end it prematurely.

Go to the dir where you want the file to be downloaded via 'cd'.

6dhosting.com
06-07-2004, 02:44 PM
wow, yeah. See now I really feel like an idiot. Thanks.

Flumps
06-07-2004, 05:39 PM
dont be. we all have to learn some how. and we are here to help and guide if need be :D

ChaosHosting
06-07-2004, 05:52 PM
Just FYI, www.hostinglife.com has a list of alot of basic SSH commands,

omaha.stylee
06-07-2004, 07:03 PM
you might also want to try lynx ....

illogix
06-07-2004, 07:54 PM
Just to make sure you learn the right thing at start, those are actually shell commands. SSH is just a secure comunication protocol which let's you issue shell commands. You could also use those commands through telnet or remote shell. ;)

piramida
06-08-2004, 02:17 AM
to be even more precise, these are not shell commands (wget, lynx), but standalone utilities :)

Bashar
06-08-2004, 06:22 AM
wget, lynx or fetch :)

TezGoo
06-10-2004, 07:00 AM
wget -m http://webaddress.com