cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Does CURL support bandwith throttling?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 24 Feb 2003 14:25:30 +0100 (CET)

On Thu, 20 Feb 2003, Kalum / Grendel wrote:

(Your clock seems to be set really wrong)

> Does CURL support bandwith throttling, for example if I wish to make sure a
> download goes no faster than 30k/sec. so as to leave bandwith for other
> applications, is it possible to do this with CURL?

Quoting the man page:

       --limit-rate <speed>
              Specify the maximum transfer rate you want curl to
              use. This feature is useful if you have a limited
              pipe and you'd prefer to have your transfer not
              use your entire bandwidth.

              The given speed is measured in bytes/second, unless
              a suffix is appended. Appending 'k' or 'K' will
              count the number as kilobytes, 'm' or M' makes it
              megabytes while 'g' or 'G' makes it gigabytes.
              Examples: 200K, 3m and 1G.

              This option was introduced in curl 7.9.9.

              If this option is used several times, the last one
              will be used.

Is that what you had in mind?

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-02-24