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.