[Ssh-sftp-perl-users] Net::SFTP copying in 8192-byte chunks?
Brought to you by:
dbrobins
From: Daniel W. <dan...@ds...> - 2005-03-08 16:40:57
|
Hi, I'm trying to use Net::SFTP to set up an automated sftp of about 35 = GB (yes, that's GB) worth of data to run once a week between 2 Solaris machines. I tried a bare bones test of a 1 GB file using the 'get' = method, but it was incredibly slow. It might have finished after a few days, = where the openssh version of the (interactive) sftp command took only a few minutes to copy the entire thing. I turned on the verbose option for Net::SFTP and saw that it was copying only 8192-byte chunks at a time, and I think that's why it was slow. = How does one raise this value? I looked in the CPAN docs but couldn't = figure it out. Thanks for any help, Dan |