curl
Nifty Hat Mitch
mitch48 at sbcglobal.net
Mon Mar 7 07:43:53 UTC 2005
On Mon, Mar 07, 2005 at 07:15:53AM +0000, Paul Howarth wrote:
> From: Paul Howarth <paul at city-fan.org>
> > >
> > I think paul had it. more correct.
> >
> >
> > -C/--continue-at <offset>
> > Continue/Resume a previous file transfer at the given offset.
> > Now your line:
> >
> > curl ftp://ftp.someone.net/somefile.iso > somefile.iso
> >
> > Looks like it might become:
> >
> > curl -C - ftp://ftp.someone.net/somefile.iso > somefile.iso
> >
> >
> > Note the '-' after the -C
>
> I think Aleksander was just suggesting to use wget, with its simpler
> command-line interface and automatic retrying. However, until recently
> wget had broken large file support and was unsuitable for downloading
> DVD ISOs.
>
> I would certainly not use:
>
> curl -C - ftp://ftp.someone.net/somefile.iso > somefile.iso
>
> as this would *definitely* not have the desired effect. Before
> even starting the curl program, the shell will overwrite the existing
> somefile.iso and connect standard output to a new, empty file of that
> name. The --output option should be used instead of a shell redirect.
I got half way to dinner and knew that I was wrong.
Glad someone caught it early.
--
T o m M i t c h e l l
Found me a new place to hang my hat :-)
More information about the fedora-list
mailing list