First thing to check is that you are using a C library for the encryption. This is the big bottleneck with bulk transfers. For example, Crypt::Blowfish is C/XS while Crypt::Blowfish_PP is pure Perl. Crypt::DES and Crypt::IDEA are C/XS. Also, try turning off compression is you have a fast transfer.
Passing the files to an external sftp process may be faster though. To keep the complexity down, considering doing it in two steps. First, use Net::SFTP to make the list files. Then use sftp to transfer the files.
In reply to Re: Perl and SFTP
by iburrell
in thread Perl and SFTP
by mr. jaggers
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |