From: Daniel Stenberg Date: Fri, 23 Oct 2015 13:24:31 +0000 (+0200) Subject: curl.1: --ignore-content-length now works for FTP too X-Git-Tag: curl-7_46_0~129 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b1fc8c0e977a61c30d263d6aaaed959cd8b26862;p=thirdparty%2Fcurl.git curl.1: --ignore-content-length now works for FTP too --- diff --git a/docs/curl.1 b/docs/curl.1 index c8ef78821e..edde89d6b9 100644 --- a/docs/curl.1 +++ b/docs/curl.1 @@ -789,10 +789,12 @@ This option can be used multiple times to add/replace/remove multiple headers. be the 128 bit MD5 checksum of the remote host's public key, curl will refuse the connection with the host unless the md5sums match. (Added in 7.17.1) .IP "--ignore-content-length" -(HTTP) -Ignore the Content-Length header. This is particularly useful for servers -running Apache 1.x, which will report incorrect Content-Length for files -larger than 2 gigabytes. +For HTTP, Ignore the Content-Length header. This is particularly useful for +servers running Apache 1.x, which will report incorrect Content-Length for +files larger than 2 gigabytes. + +For FTP (since 7.46.0), skip the RETR command to figure out the size before +downloading a file. .IP "-i, --include" (HTTP) Include the HTTP-header in the output. The HTTP-header includes things like server-name, date of the document, HTTP-version and more...