2016-11-16 06:44:58 +08:00
|
|
|
Long: ignore-content-length
|
|
|
|
Help: Ignore the size of the remote resource
|
|
|
|
Protocols: FTP HTTP
|
2020-07-13 20:15:04 +08:00
|
|
|
Category: http ftp
|
2021-08-31 22:37:14 +08:00
|
|
|
Example: --ignore-content-length $URL
|
2021-09-28 17:50:07 +08:00
|
|
|
Added: 7.14.1
|
2021-11-15 22:58:20 +08:00
|
|
|
See-also: ftp-skip-pasv-ip
|
2016-11-16 06:44:58 +08:00
|
|
|
---
|
|
|
|
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.
|
2021-06-03 23:56:36 +08:00
|
|
|
|
2021-10-31 23:34:44 +08:00
|
|
|
This option does not work for HTTP if libcurl was built to use hyper.
|