aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-10-23 15:24:31 +0200
committerDaniel Stenberg <daniel@haxx.se>2015-10-23 15:24:31 +0200
commitb1fc8c0e977a61c30d263d6aaaed959cd8b26862 (patch)
treee0522573a28d64a4ed54cc69da29906c36f40566
parent529f9310b1febcd3626aefbc598032572efb248a (diff)
curl.1: --ignore-content-length now works for FTP too
-rw-r--r--docs/curl.110
1 files changed, 6 insertions, 4 deletions
diff --git a/docs/curl.1 b/docs/curl.1
index c8ef78821..edde89d6b 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...