My doubt is only about the syntax of this command options. I mean, why the second dash following -C ?? Does it mean it should resume automatically if the download fails? I couldn't find anything related on the man page.

Thanks in advance!
sl33p

acid_kewpie

07-06-2009 05:18 PM

from the curl manpage:

Code:

-C/--continue-at <offset>
Continue/Resume a previous file transfer at the given off‐
set. The given offset is the exact number of bytes that will
be skipped counted from the beginning of the source file
before it is transferred to the destination. If used with
uploads, the ftp server command SIZE will not be used by
curl.

Use "-C -" to tell curl to automatically find out where/how
to resume the transfer. It then uses the given output/input
files to figure that out.