Re: curl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 07, 2005 at 07:15:53AM +0000, Paul Howarth wrote:
> From: Paul Howarth <paul@xxxxxxxxxxxx>
> > > 
> > 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 :-)


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux