2016-11-16 06:44:58 +08:00
|
|
|
Short: C
|
|
|
|
Long: continue-at
|
|
|
|
Arg: <offset>
|
|
|
|
Help: Resumed transfer offset
|
|
|
|
See-also: range
|
2020-07-13 20:15:04 +08:00
|
|
|
Category: connection
|
2021-08-31 22:37:14 +08:00
|
|
|
Example: -C - $URL
|
|
|
|
Example: -C 400 $URL
|
2016-11-16 06:44:58 +08:00
|
|
|
---
|
|
|
|
Continue/Resume a previous file transfer at the given offset. The given offset
|
|
|
|
is the exact number of bytes that will be skipped, counting 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.
|
|
|
|
|
|
|
|
If this option is used several times, the last one will be used.
|