From: Michael Ellery <[EMAIL PROTECTED]>
> I've been trying to use Net::SFTP recently, without luck.  When I try to 
> execute a simple fetch with code like:
> 
> use strict;
> use Net::SFTP;
> 
> my $scp = new Net::SFTP(
>      'SOMEHOST',
>      user => 'SOMEUSER',
>      password => 'SOMEPASS',
> ) or die "Unable to create host connection";
> 
> my @list = $scp->ls('/tmp');
> print "HERE IS /tmp\n:";
> map {print "\t$_\n";} @list;
> my $stat = $scp->get('/tmp/InstalledDB', 'c:/s2/InstalledDB');
> print "get status is $stat\n";
> 
> 
> ...I get the error:
> 
> The getpwuid function is unimplemented at 
> C:/Perl/site/lib/Net/SSH/Perl.pm line 110.

Net::SSH2 works fine for me under Windows.

Jenda
===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed 
to get drunk and croon as much as they like.
        -- Terry Pratchett in Sourcery

_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to