ignore-content-length.d 518 B

123456789101112131415
  1. Long: ignore-content-length
  2. Help: Ignore the size of the remote resource
  3. Protocols: FTP HTTP
  4. Category: http ftp
  5. Example: --ignore-content-length $URL
  6. Added: 7.14.1
  7. ---
  8. For HTTP, Ignore the Content-Length header. This is particularly useful for
  9. servers running Apache 1.x, which will report incorrect Content-Length for
  10. files larger than 2 gigabytes.
  11. For FTP (since 7.46.0), skip the RETR command to figure out the size before
  12. downloading a file.
  13. This option does not work for HTTP if libcurl was built to use hyper.