Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

greetings fellow monks. I have assembled a perl script utilizing Net::FTP on Windows. Aside from the documentation for Net::FTP, I was wondering if there are any tips or tricks settings that will maximize the download and upload transfer speed when I run the script. ...OR.... Is there something even better within the perl / perl module world?
Your help is greatly appreciated. Thanks in advance for your generous insite and wisdom.

Replies are listed 'Best First'.
Re: speeding up Net::FTP
by Illuminatus (Curate) on Oct 28, 2008 at 18:27 UTC
    You will need to provide a few more details about the nature of your application in order to get meaningful feedback. FTP is FTP -- there isn't much to set to change its behavior as a protocol.
    1. Are you making sure your system has optimal bandwidth from your network?
    2. Are your files compressed before your transfer?
    3. If your files are coming from/going to different systems on different networks, you could run transfers concurrently, using lots of different mechanisms
Re: speeding up Net::FTP
by Khen1950fx (Canon) on Oct 28, 2008 at 20:22 UTC
    Net::FTP::Throttle can help you. It can "throttle" the maximum bandwidth to optimize transfer speed.
Re: speeding up Net::FTP
by ig (Vicar) on Oct 28, 2008 at 20:33 UTC

    You might tune your TCP/IP stack if you haven't done so. Google for tuning ftp to find guidance if this is unfamiliar.

    Update: I found http://www.csm.ornl.gov/~dunigan/netperf/bulk.html particularly interesting, though it may not be applicable to your situation.

    Update: And don't forget your disk I/O, system bus, etc. The network may not be your bottleneck.