May 2017
Beginner
552 pages
28h 47m
English
cURL can resume a download from a given offset. This is useful if you have a per-day data limit and a large file to download.
$ curl URL/file -C offset
offset is an integer value in bytes.
cURL doesn't require us to know the exact byte offset, if we want to resume downloading a file. If you want cURL to figure out the correct resume point, use the -C - option, as follows:
$ curl -C - URL
cURL will automatically figure out where to restart the download of the specified file.