1---
2c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
3SPDX-License-Identifier: curl
4Long: ignore-content-length
5Help: Ignore the size of the remote resource
6Protocols: FTP HTTP
7Category: http ftp
8Added: 7.14.1
9Multi: boolean
10See-also:
11  - ftp-skip-pasv-ip
12Example:
13  - --ignore-content-length $URL
14---
15
16# `--ignore-content-length`
17
18For HTTP, Ignore the Content-Length header. This is particularly useful for
19servers running Apache 1.x, which reports incorrect Content-Length for
20files larger than 2 gigabytes.
21
22For FTP, this makes curl skip the SIZE command to figure out the size before
23downloading a file (added in 7.46.0).
24
25This option does not work for HTTP if libcurl was built to use hyper.
26