]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
Armel Asselin's fix for the RESUME_FROM docu
authorDaniel Stenberg <daniel@haxx.se>
Tue, 26 Sep 2006 10:38:24 +0000 (10:38 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 26 Sep 2006 10:38:24 +0000 (10:38 +0000)
docs/libcurl/curl_easy_setopt.3

index 5e11cf38ca9bd0c789178d75884caa50c4d270d7..ad0582746887b5b4a4061906d8cb63381bf290ea 100644 (file)
@@ -973,7 +973,9 @@ techniques). Pass a NULL to this option to disable the use of ranges.
 .IP CURLOPT_RESUME_FROM
 Pass a long as parameter. It contains the offset in number of bytes that you
 want the transfer to start from. Set this option to 0 to make the transfer
-start from the beginning (effectively disabling resume).
+start from the beginning (effectively disabling resume). For FTP, set this
+option to -1 to make the transfer start from the end of the target file
+(useful to continue an interrupted upload).
 .IP CURLOPT_RESUME_FROM_LARGE
 Pass a curl_off_t as parameter. It contains the offset in number of bytes that
 you want the transfer to start from. (Added in 7.11.0)