|go ahead... be a heretic|
Re: Using Net::FTP::Throttleby BrowserUk (Pope)
|on Aug 01, 2012 at 23:21 UTC||Need Help??|
I suspect that the setting of the maximum burst rate to 10k (10240) here (in new()):
Combined with the minimum accounting period of 1/100th of a second here (in get()):
Means that the maximum throughput possible is 10kbytes per 0.001 of a second = 1000KBytes or (roughly) 10Mbps.
Throw in the out-of-band overheads (writing to the local file), and that probably explains why it has a fixed upper limit regardless of your requested limit.
Two (3) possible solutions:
Also, 4096 byte blocksize seems very small for transferring large files across a network? I try 64k and see what affect that has.
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.