Re: Command-line file downloader

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



"Jason Gurtz" <jasonNOgurtz@xxxxxxxxxxxxxxx> wrote:

Address munging IS HARMFUL!

Mark Blain wrote:
There's a feature comparison of several command-line downloading tools
including cURL and wget at
http://curl.haxx.se/docs/comparison-table.html

The lack of recursive downloading is a pretty significant hit against
curl. FWIW, the comparison table also barely scratches the features of
wget.

It barely scratches the features of curl too.-)
While curl itself doesn't perform recursive up/downloads, there are libcurl
based programs which have this capability.
And besides downloads, curl/libcurl does uploads too.
Has wget an accompanying libwget?!
Does it support large files?
OK, thats now rhetoric, but LFS support was introduced just recently.
Look at the history of both tools: wget was written to fetch web pages,
curl was written to "grok URLs".

It appears the main advantage of curl is support for a small handful of
additional protocols.

And uploads too, and a library, ...

IMO to issue a blanket statement that it is carte
blanch better than wget is pretty bold. That said, curl is a pretty
great choice.

I wrote "better" not without reason enclosed in quotes.

Maybe more important is the related curl library for programming projects :)

Right.

It also might be worth taking a look at the ncftp package. In addition
to the interactive commandline ftp client, there is also the scriptable
ncftpput and ncftpget included (of course it is ftp only).

Good luck in all automated file transfer projects...

But on the first hand: why should I "install" a third party solution at
all and not use BITS instead (which has the advantage to use the Internet
settings of Windows). Unfortunately BITSAdmin.exe needs to be installed
from the support tools package too.

Stefan

.



Relevant Pages

  • Re: shell scripting firefox
    ... something like lynx or wget or curl). ... in one breath tells us they don't need to be regulated (which is to say: ... don't need to be regulated (that they can morally self-regulate) ... ...
    (comp.unix.shell)
  • Re: Auto submitting a form that contains a file field
    ... Client end is NOT php. ...  Thanks, - Dave ... post-file in wget or the equivalent in CURL to do the thing. ...
    (comp.lang.php)
  • Re: shell scripting firefox
    ... something like lynx or wget or curl). ... I agree the most desired option is wget or curl and if those fail then ... you are forced to simulate a gui. ...
    (comp.unix.shell)
  • Re: [PHP] spider
    ... In another word: WGET ... But has anyone seen a PHP port of wget ... or is curl the only one of the 2 which does it natively in a compiled ... True, but some sites require natively running instead of running things via exec, system, etc... ...
    (php.general)
  • Re: fetch extension - use local filename from content-dispositionheader (new diff)
    ... > use wget or curl instead? ... > get to endure such helpful attitudes? ... to accept patches to implement the feature you need for your scripts. ...
    (freebsd-current)