IO::All::SFTP - use sftp from IO::All
Here's a quick example of how to use this:
use IO::All; # print the contents of the remove file $test < io('sftp://guest:guest@asdf/home/guest/test'); print $test;
For more information on the interface, see the IO::All POD.
I did not write any of the code that this module uses. All of the code is in LWP::Protocol::sftp and IO::All::LWP. This module just tells IO::All::LWP to use LWP::Protocol::sftp.
So kudos to Salvador Fandiño for LWP-Protocol-sftp and Ivan Tubert-Brohman and Brian Ingerson for IO-All-LWP.
One bug that I've found while testing is that if you don't have the host you are connecting to in your known_hosts, it will just hang.
Copyright 2009 Ryan Niebur, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
IO::All, IO::All::LWP
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in 'Fandiño'. Assuming UTF-8
To install IO::All::SFTP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IO::All::SFTP
CPAN shell
perl -MCPAN -e shell install IO::All::SFTP
For more information on module installation, please visit the detailed CPAN module installation guide.