You can also run Net::SFTP::Foreign on top of Net::SSH2 using Net::SFTP::Foreign::Backend::Net_SSH2.
salva, what are the advantages of doing that - as opposed to simply using Net::SSH2 ?
I'm thinking that if it's using Net::SSH2 then Net::SFTP::Foreign::Backend::Net_SSH2 is not going to provide any performance boost ... therefore, maybe it provides some advantages when it comes to writing the code ? Does it, for example, simplify the coding of an sftp_put() ?