Imported Upstream version 7.53.1
[platform/upstream/curl.git] / docs / cmdline-opts / ignore-content-length.d
1 Long: ignore-content-length
2 Help: Ignore the size of the remote resource
3 Protocols: FTP HTTP
4 ---
5 For HTTP, Ignore the Content-Length header. This is particularly useful for
6 servers running Apache 1.x, which will report incorrect Content-Length for
7 files larger than 2 gigabytes.
8
9 For FTP (since 7.46.0), skip the RETR command to figure out the size before
10 downloading a file.