I swear I looked...thank you...that'll help immensely. 

-----Original Message-----
From: Justin Piszcz [mailto:[email protected]] 
Sent: Friday, September 25, 2009 8:14 AM
To: LJ Longwing
Cc: [email protected]
Subject: Re: Lftp limit speed?



On Fri, 25 Sep 2009, LJ Longwing wrote:

> Is there a way to limit the bandwidth that it uses?
>

Yep.

Per the manpage:

        net:limit-rate (bytes per second)
               limit  transfer  rate on data connection. 0 means unlimited.
You
               can specify two numbers separated by colon to limit download
and
               upload rate separately.

        net:limit-max (bytes)
               limit accumulating of unused limit-rate. 0 means twice of
limit-
               rate.

        net:limit-total-rate (bytes per second)
               limit transfer rate of all connections in sum.  0  means
unlim-
               ited.  You  can  specify two numbers separated by colon to
limit
               download and upload rate separately.   Note  that  sockets
have
               receive  buffers  on  them,  this  can lead to network link
load
               higher than this rate limit just after transfer  beginning.
You
               can  try  to  set net:socket-buffer to relatively small value
to
               avoid this.

        net:limit-total-max (bytes)
               limit accumulating of unused limit-total-rate. 0 means twice
of
               limit-total-rate.


Justin.

Reply via email to