nithins has asked for the wisdom of the Perl Monks concerning the following question:
Hi monks
I wanted an sftp connection to one of the servers, hence used Net::SFTP module.The code i have written is below.
my $ftp = Net::SFTP->new($host,$user,$pass) or die "$!"; print "logged in to server for ftp\n";
but while executing i am getting this error :The getpwuid function is unimplemented at C:/strawberry/perl/site/lib/Net/SSH/Perl/SSH2.pm line 39.When i checked in SSH.pm i did find that there was no function implemented with getpwuid name.Can some one help me on this
it set's environment variable ,because of this error it's failing
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: SSH2.pm doesn't have "getpwuid" function
by salva (Canon) on Nov 20, 2013 at 08:31 UTC | |
|
Re: SSH2.pm doesn't have "getpwuid" function
by kcott (Archbishop) on Nov 20, 2013 at 08:05 UTC | |
by Corion (Patriarch) on Nov 20, 2013 at 08:07 UTC | |
by kcott (Archbishop) on Nov 20, 2013 at 08:32 UTC |