Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Using Net::FTP::Throttle

by flexvault (Parson)
on Aug 03, 2012 at 11:52 UTC ( #985217=note: print w/ replies, xml ) Need Help??


in reply to Using Net::FTP::Throttle

joetesta,

On a lan without going through a router, large block sizes will help, but once you use the Internet, the large blocks will cause fragmentation. Try using 1492 which is the most common packet size for routers on the Internet. If you are on a GigE Internet connection, I believe 14,920 can be used, but realize the first router that can't support that size will cause fragmentation.

Also realize that once more than one down-load is in progress, you may go over your bandwidth limit. On all of my Internet facing servers, I use the open source 'pure-ftpd' which allows bandwidth to be throttled by user, group, time of day, etc. You can chain-root the ftp session.

If you can't chance the server, then try to limit the number of concurrent ftp sessions and limit each individual ftp session to a value less than the max usage divided by the number of concurrent sessions.

Good Luck!

"Well done is better than well said." - Benjamin Franklin


Comment on Re: Using Net::FTP::Throttle
Re^2: Using Net::FTP::Throttle
by Anonymous Monk on Jan 16, 2013 at 01:01 UTC

    Hello All, I am using the Net::Ftp for file transfer and was wondering if there was any way to display the throughput of the transfer using some FTP commands? Thanks in advance ! Arun

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://985217]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2014-07-14 05:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (255 votes), past polls