xref: /aosp_15_r20/external/curl/docs/cmdline-opts/continue-at.md (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1*6236dae4SAndroid Build Coastguard Worker---
2*6236dae4SAndroid Build Coastguard Workerc: Copyright (C) Daniel Stenberg, <[email protected]>, et al.
3*6236dae4SAndroid Build Coastguard WorkerSPDX-License-Identifier: curl
4*6236dae4SAndroid Build Coastguard WorkerShort: C
5*6236dae4SAndroid Build Coastguard WorkerLong: continue-at
6*6236dae4SAndroid Build Coastguard WorkerArg: <offset>
7*6236dae4SAndroid Build Coastguard WorkerHelp: Resumed transfer offset
8*6236dae4SAndroid Build Coastguard WorkerCategory: connection
9*6236dae4SAndroid Build Coastguard WorkerAdded: 4.8
10*6236dae4SAndroid Build Coastguard WorkerMulti: single
11*6236dae4SAndroid Build Coastguard WorkerSee-also:
12*6236dae4SAndroid Build Coastguard Worker  - range
13*6236dae4SAndroid Build Coastguard WorkerExample:
14*6236dae4SAndroid Build Coastguard Worker  - -C - $URL
15*6236dae4SAndroid Build Coastguard Worker  - -C 400 $URL
16*6236dae4SAndroid Build Coastguard Worker---
17*6236dae4SAndroid Build Coastguard Worker
18*6236dae4SAndroid Build Coastguard Worker# `--continue-at`
19*6236dae4SAndroid Build Coastguard Worker
20*6236dae4SAndroid Build Coastguard WorkerResume a previous transfer from the given byte offset. The given offset is the
21*6236dae4SAndroid Build Coastguard Workerexact number of bytes that are skipped, counting from the beginning of the
22*6236dae4SAndroid Build Coastguard Workersource file before it is transferred to the destination. If used with uploads,
23*6236dae4SAndroid Build Coastguard Workerthe FTP server command SIZE is not used by curl.
24*6236dae4SAndroid Build Coastguard Worker
25*6236dae4SAndroid Build Coastguard WorkerUse "-C -" to instruct curl to automatically find out where/how to resume the
26*6236dae4SAndroid Build Coastguard Workertransfer. It then uses the given output/input files to figure that out.
27