limit-rate.d 964 B

1234567891011121314151617181920212223
  1. Long: limit-rate
  2. Arg: <speed>
  3. Help: Limit transfer speed to RATE
  4. Category: connection
  5. Example: --limit-rate 100K $URL
  6. Example: --limit-rate 1000 $URL
  7. Example: --limit-rate 10M $URL
  8. ---
  9. Specify the maximum transfer rate you want curl to use - for both downloads
  10. and uploads. This feature is useful if you have a limited pipe and you'd like
  11. your transfer not to use your entire bandwidth. To make it slower than it
  12. otherwise would be.
  13. The given speed is measured in bytes/second, unless a suffix is appended.
  14. Appending 'k' or 'K' will count the number as kilobytes, 'm' or 'M' makes it
  15. megabytes, while 'g' or 'G' makes it gigabytes. The suffixes (k, M, G, T, P)
  16. are 1024 based. For example 1k is 1024. Examples: 200K, 3m and 1G.
  17. If you also use the --speed-limit option, that option will take precedence and
  18. might cripple the rate-limiting slightly, to help keeping the speed-limit
  19. logic working.
  20. If this option is used several times, the last one will be used.