Re: [net-ftp-common] Net::FTP slow compared to spawning ftp process

2002-04-19 Thread Graham Barr
When transfering in ASCII mode (the default) Net::FTP will be slower due to doing the CRLF translation. But transfering in binary mode should be comparable. Increasing the transfer blocksize should also help. Graham. On Thu, Apr 18, 2002 at 11:17:24PM -0400, Terrence Brannon wrote: > Hi Brian, >

Re: [net-ftp-common] Net::FTP slow compared to spawning ftp process

2002-04-19 Thread James D. White
Picking the right value for BlockSize is very important. I have encountered an over one order of magnitude difference in transfer rates using different values for BlockSize when using Net::FTP. I think the default value is 1K. I tried powers of 2 from 1K up to 64K. For me a BlockSize value of

Re: [net-ftp-common] Net::FTP slow compared to spawning ftp process

2002-04-19 Thread Graham Barr
On Fri, Apr 19, 2002 at 11:16:44AM -0500, James D. White wrote: > Picking the right value for BlockSize is very important. I have encountered > an over one order of magnitude difference in transfer rates using different > values for BlockSize when using Net::FTP. > > I think the default value is