Just installed Net::SFTP::Foreign::Backend::Net_SSH2 and gave it a try. Couldn't detect any improved performance for a "put" of an 8Mb file over a local connection - but the coding is so much simpler (no need to come up with my own "put" subroutine), and it's far more flexible than Net::SSH2.
Nice work,
salva. I'll certainly be making good use of this module from now on.
Cheers,
Rob
Update: The sftp transfer of that file takes about 30 seconds. I've just checked the time it takes to scp_put() the same file and it's only about
4 seconds !!
Is that time disparity to be expected ?