File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / docs / cmdline-opts / ignore-content-length.d
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Jun 3 10:01:15 2020 UTC (4 years, 7 months ago) by misho
Branches: curl, MAIN
CVS tags: v7_70_0p4, HEAD
curl

Long: ignore-content-length
Help: Ignore the size of the remote resource
Protocols: FTP HTTP
---
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.

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>