NAME

LWP::Protocol::sftp - adds support for SFTP uris to LWP package

SYNOPSIS

use LWP::Simple;
my $content = get('sftp://me@myhost:29/home/me/foo/bar');

DESCRIPTION

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{new} = [more => '-oBatchMode=yes'];

SEE ALSO

LWP and Net::SFTP::Foreign documentation. ssh(1), sftp(1) manual pages. OpenSSH web site at http://www.openssh.org.

COPYRIGHT

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.