in reply to Re^2: Net:FTP too slow
in thread Net:FTP too slow

Here, 10240 refers to bytes; hence, that's 1024K. "alter to 4096" means 4096K. I usually do a BlockSize of 8192K.

Replies are listed 'Best First'.
Re^4: Net:FTP too slow
by Anonymous Monk on Nov 09, 2011 at 01:37 UTC
    Hey,
    'Here, 10240 refers to bytes; hence, that's 1024K. "alter to 4096" means 4096K. I usually do a BlockSize of 8192K.'
    10240bytes=1024K?
    BlockSize of 8192K : should I write BlockSize=>8192*1024,or BlockSize=>8192?
    thanks.
      The default is 10240 bytes:
      BlockSize => 1024
      Under the hood:

      Net::FTP will silently do the right thing. The cmdline ftp does 1024, so it seems that 1024, 2048, 4096, etc. would be used by Net::FTP.

      I hope that helps?