Hi All
 
Having problems with Net-SFTP module on XP. Sample code below.  Error
seems to relate to getpwuid function, which I know isn't properly
implemented in Activestate.  Any ideas on how to get native SFTP for
win32 (I would prefer not to have to use Net-SFTP-Foreign, as it relies
on an external exe)
 
Thanks
 
 
Dave
 
*****Error*****

    The getpwuid function is unimplemented at
C:/Perl/site/lib/Net/SSH/Perl.pm line 110.

*****/Error*****
 
*****Code*****
    use Net::SFTP;

    my $sftp = Net::SFTP->new( $host, user => $user, password => $pass,
ssh_args => [port => 22, compression => 1] ); 

    chdir("c:\\");

    $sftp->put($file, $file2);

*****/Code*****
 
*****ENV*****
    Windows XP SP2
    Perl v5.8.8 built for MSWin32-x86-multi-thread
    Binary build 822 [280952] provided by http://www.ActiveState.com
<http://www.ActiveState.com> 
    Built Jul 31 2007 19:34:48
*****/ENV****
****************************************************************************

**********************

This email and any files transmitted with it are confidential and

intended solely for the use of the individual or entity to whom they

are addressed. If you have received this email in error please notify

the system manager.

 

This footnote also confirms that this email message has been swept

by MONSOON for the presence of computer viruses.

 

Monsoon Accessorize Ltd

Registered Company Number: 01098034

Registered Office: 

Monsoon Building

179 Harrow Road

London

W2 6NB

United Kingdom


www.monsoon.co.uk    www.accessorize.co.uk

****************************************************************************

**********************
_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to