Mac Usenet  

Go Back   Mac Usenet > Main Category > Mac System
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


equivalent of "wget"?

 
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-19-2006, 08:51 PM
laredotornado@zipmail.com
Guest
 
Posts: n/a
Default equivalent of "wget"?

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  
Old 12-19-2006, 08:57 PM
Ian Gregory
Guest
 
Posts: n/a
Default Re: equivalent of "wget"?

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  
Old 12-19-2006, 10:41 PM
Richard E Maine
Guest
 
Posts: n/a
Default Re: equivalent of "wget"?

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  
Old 12-20-2006, 12:23 AM
Michael Newbery
Guest
 
Posts: n/a
Default Re: equivalent of "wget"?

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  
Old 12-20-2006, 12:32 AM
Sander Tekelenburg
Guest
 
Posts: n/a
Default Re: equivalent of "wget"?

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  
Old 12-20-2006, 01:33 AM
Wes Groleau
Guest
 
Posts: n/a
Default Re: equivalent of "wget"?

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  
Old 12-20-2006, 02:52 AM
Michael Newbery
Guest
 
Posts: n/a
Default Re: equivalent of "wget"?

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump



All times are GMT. The time now is 12:12 PM.


Powered by: vBulletin Version 3.0.7
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.

Search Engine Friendly URLs by vBSEO 2.0(RC6)