SriniK has asked for the wisdom of the Perl Monks concerning the following question:
use strict; use warnings; use Net::SFTP; my $SFTPSite = '#.#.#.#' ; my $userid = '****'; my $pword = '******'; #** ** ** ** ** ** ** ** # Setup to do the SFTP my $sftp = Net::SFTP->new( $SFTPSite, $userid, $pword ) or die "Could NOT create SFTP " ; #Net::SFTP const +ructor print "Yes\n";
The getpwuid function is unimplemented at C:/strawberry/perl/site/lib/ +Net/SSH/Perl/SSH2.pm line 39, <GEN0> line 1.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Unable to connect to a remote host through Net::SFTP
by ig (Vicar) on Jul 04, 2011 at 17:08 UTC |