From 08adf679691006a8fc45fca07c7a10e6a458283e Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 11 Jan 2008 14:20:41 +0000 Subject: Daniel Egger made CURLOPT_RANGE work on file:// URLs the very same way it already worked for FTP:// URLs --- docs/curl.1 | 6 +++--- docs/libcurl/curl_easy_setopt.3 | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/curl.1 b/docs/curl.1 index 2f6d3999c..0babaaaf4 100644 --- a/docs/curl.1 +++ b/docs/curl.1 @@ -974,9 +974,9 @@ This option can be used multiple times. random data. The data is used to seed the random engine for SSL connections. See also the \fI--egd-file\fP option. .IP "-r/--range " -(HTTP/FTP) -Retrieve a byte range (i.e a partial document) from a HTTP/1.1 or FTP -server. Ranges can be specified in a number of ways. +(HTTP/FTP/FILE) Retrieve a byte range (i.e a partial document) from a +HTTP/1.1, FTP server or a local FILE. Ranges can be specified in a number of +ways. .RS .TP 10 .B 0-499 diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3 index 56b763fe7..dec4371e1 100644 --- a/docs/libcurl/curl_easy_setopt.3 +++ b/docs/libcurl/curl_easy_setopt.3 @@ -1119,6 +1119,8 @@ transfers also support several intervals, separated with commas as in \fI"X-Y,N-M"\fP. Using this kind of multiple intervals will cause the HTTP server to send the response document in pieces (using standard MIME separation techniques). Pass a NULL to this option to disable the use of ranges. + +Ranges work on HTTP, FTP and FILE (since 7.18.0) transfers only. .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 -- cgit v1.2.3