max-filesize.md: mention zero disables the limit
Reported-by: MasterInQuestion on github Fixes #14440 Closes #14443
This commit is contained in:
parent
146759716c
commit
d41916c434
@ -16,9 +16,11 @@ Example:
|
|||||||
|
|
||||||
# `--max-filesize`
|
# `--max-filesize`
|
||||||
|
|
||||||
Specify the maximum size (in bytes) of a file to download. If the file
|
When set to a non-zero value, it specifies the maximum size (in bytes) of a
|
||||||
requested is larger than this value, the transfer does not start and curl
|
file to download. If the file requested is larger than this value, the
|
||||||
returns with exit code 63.
|
transfer does not start and curl returns with exit code 63.
|
||||||
|
|
||||||
|
Setting the maximum value to zero disables the limit.
|
||||||
|
|
||||||
A size modifier may be used. For example, Appending 'k' or 'K' counts the
|
A size modifier may be used. For example, Appending 'k' or 'K' counts the
|
||||||
number as kilobytes, 'm' or 'M' makes it megabytes, while 'g' or 'G' makes it
|
number as kilobytes, 'm' or 'M' makes it megabytes, while 'g' or 'G' makes it
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user