Alexander V. Lukyanov wrote:
On Thu, Jun 11, 2009 at 01:25:55PM +0100, mog wrote:
I don't mind at all if the communications channel uses more bandwidth so
it's a bit faster, and generally just wanted to limit the bandwidth of
just the data transfer. Should limit-max not achieve this, or have I
slightly misunderstood the meaning of the settings?
The settings are all documented in the man page.
net:limit-rate (bytes per second)
limit transfer rate on data connection. 0 means unlimited. You
can specify two num-
bers separated by colon to limit download and upload rate
separately.
net:limit-max (bytes)
limit accumulating of unused limit-rate. 0 means unlimited.
So you need to set net:limit-rate.
net:limit-total-rate is for limiting all the connections in sum.
Hi Alexander,
Yeah I believe I understand the meaning behind those settings, I looked
through the manual page before even installing lftp to confirm that it
would be capable of doing what I needed.
The confusing thing for me is that yesterday the net:limit-rate setting
was successfully controlling the speed of the data transfer, but today
it does not as the transfers go at full speed. Only when I use
net:limit-total-rate does the file transfer get limited to the speed I
specified, it's just weird.
Regards,
mog.