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