iw7-mod/deps/curl/docs/cmdline-opts/ignore-content-length.md
2024-08-13 05:15:34 -04:00

706 B

c SPDX-License-Identifier Long Help Protocols Category Added Multi See-also Example
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. curl ignore-content-length Ignore the size of the remote resource FTP HTTP http ftp 7.14.1 boolean
ftp-skip-pasv-ip
--ignore-content-length $URL

--ignore-content-length

For HTTP, Ignore the Content-Length header. This is particularly useful for servers running Apache 1.x, which reports incorrect Content-Length for files larger than 2 gigabytes.

For FTP, this makes curl skip the SIZE command to figure out the size before downloading a file (added in 7.46.0).

This option does not work for HTTP if libcurl was built to use hyper.