1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 16:18:48 -05:00
curl/docs/cmdline-opts/ignore-content-length.d
2016-11-16 10:42:51 +01:00

11 lines
376 B
Makefile

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.