++ed by:
3 non-PAUSE users
Author image Salvador Fandiño García


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{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.