Skip to content

Added example on using --limit-rate and --max-time together - #19473

Closed
nait-furry wants to merge 1 commit into
curl:masterfrom
nait-furry:docs-limit-rate-example
Closed

Added example on using --limit-rate and --max-time together#19473
nait-furry wants to merge 1 commit into
curl:masterfrom
nait-furry:docs-limit-rate-example

Conversation

@nait-furry

Copy link
Copy Markdown
Contributor

Added a simple example to how --limit-rate and --max-time could be used together for controlled transfer window

- --limit-rate 100K $URL
- --limit-rate 1000 $URL
- --limit-rate 10M $URL
- --limit-rate 200K --max-time 60 -o $URL :Aborts if download takes longer than 60 seconds

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we should put comments in that line. It was not intended and I imagine it will make the output look wrong in some places.

@bagder bagder closed this in 57b4fe1 Nov 14, 2025
@bagder

bagder commented Nov 14, 2025

Copy link
Copy Markdown
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants