![]() |
|
#1
| |||
| |||
| Hi, I'm SSHed in to a Mac OS X server (10.4). From the SSH terminal, I'd like to download a file through HTTP. How can this be done. I cannot find "wget" any where on the system. Thanks, - Dave |
|
#2
| |||
| |||
| On 2006-12-19, laredotornado@zipmail.com <laredotornado@zipmail.com> wrote: > I'm SSHed in to a Mac OS X server (10.4). From the SSH terminal, I'd > like to download a file through HTTP. How can this be done. I cannot > find "wget" any where on the system. use "curl" I often do "curl -I URL" to see the HTTP headers sent by the server but it's main function is to pull down files. There are loads of options - "man curl". Not sure if there are any major differences between wget and curl. Ian -- Ian Gregory http://www.zenatode.org.uk/ian/ |
|
#3
| |||
| |||
| Ian Gregory <foo@bar.invalid> wrote: > On 2006-12-19, laredotornado@zipmail.com <laredotornado@zipmail.com> wrote: > > > I'm SSHed in to a Mac OS X server (10.4). From the SSH terminal, I'd > > like to download a file through HTTP. How can this be done. I cannot > > find "wget" any where on the system. > > use "curl" Or, of course, you can install wget from any of several sources. I've got it on this machine (via fink). It might be quicker/simpler to just use curl if it isn't your machine or for any of several other reasons. But if you particularly want wget, it can easily be installed, even though it doesn't come as a default part of the OS. -- Richard Maine | Good judgment comes from experience; email: my first.last at org.domain| experience comes from bad judgment. org: nasa, domain: gov | -- Mark Twain |
|
#4
| |||
| |||
| In article <4ur5j3F19k98vU2@mid.individual.net>, Ian Gregory <foo@bar.invalid> wrote: > On 2006-12-19, laredotornado@zipmail.com <laredotornado@zipmail.com> wrote: > > > I'm SSHed in to a Mac OS X server (10.4). From the SSH terminal, I'd > > like to download a file through HTTP. How can this be done. I cannot > > find "wget" any where on the system. > > use "curl" > > I often do "curl -I URL" to see the HTTP headers sent by the server > but it's main function is to pull down files. There are loads of > options - "man curl". Not sure if there are any major differences > between wget and curl. The licence. curl is MIT/X derived <http://curl.haxx.se/docs/copyright.html> whereas wget uses the GNU General Public License. curl is being actively developed <http://curl.haxx.se/> and has many more features than wget. See <http://en.wikipedia.org/wiki/Wget#Criticisms_of_Wget> for some criticisms of wget. |
|
#5
| |||
| |||
| In article <1166565107.817918.295480@f1g2000cwa.googlegroups.c om>, laredotornado@zipmail.com wrote: > I'm SSHed in to a Mac OS X server (10.4). From the SSH terminal, I'd > like to download a file through HTTP. How can this be done. I cannot > find "wget" any where on the system. Macx OS X includes "curl", not wget. -- Sander Tekelenburg, <http://www.euronet.nl/~tekelenb/> Mac user: "Macs only have 40 viruses, tops!" PC user: "SEE! Not even the virus writers support Macs!" |
|
#6
| |||
| |||
| Michael Newbery wrote: > <http://en.wikipedia.org/wiki/Wget#Criticisms_of_Wget> for some > criticisms of wget. It does what I want, so I've no motivation to change. To each his own. -- Wes Groleau Nobody believes a theoretical analysis -- except the guy who did it. Everybody believes an experimental analysis -- except the guy who did it. -- Unknown |
|
#7
| |||
| |||
| In article <xh1ih.6550$HT5.115@trnddc02>, Wes Groleau <groleau+news@freeshell.org> wrote: > Michael Newbery wrote: > > <http://en.wikipedia.org/wiki/Wget#Criticisms_of_Wget> for some > > criticisms of wget. > > It does what I want, so I've no motivation to change. > To each his own. Yup. For a simple fetch of an http url, either is fine, and wget is rather more common. However, curl is included in Mac OS X and wget is not (at least in 10.4. I think it was in earlier releases). I wondered about this myself and went looking, to discover that whatever functional differences there might be, the greater part of arguments seem to revolve around licence zealotry. One might wonder why Mac OS X includes curl but *not* wget. |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|