LWP::Protocol::sftp - adds support for SFTP uris to LWP package
use LWP::Simple; my $content = get('sftp://me@myhost:29/home/me/foo/bar');
After this module is installed, LWP can be used to access remote file systems via SFTP.
This module is based on Net::SFTP::Foreign.
The variable %LWP::Protocol::sftp::DEFAULTS can be used to pass extra arguments to Net::SFTP::Foreign methods. For instance:
%LWP::Protocol::sftp::DEFAULTS
$LWP::Protocol::sftp::DEFAULTS{new} = [more => '-oBatchMode=yes'];
LWP and Net::SFTP::Foreign documentation. ssh(1), sftp(1) manual pages. OpenSSH web site at http://www.openssh.org.
Copyright (C) 2005, 2006, 2008, 2009, 2012 by Salvador Fandiño (sfandino@yahoo.com).
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.
To install LWP::Protocol::sftp, copy and paste the appropriate command in to your terminal.
cpanm
cpanm LWP::Protocol::sftp
CPAN shell
perl -MCPAN -e shell install LWP::Protocol::sftp
For more information on module installation, please visit the detailed CPAN module installation guide.