Re: [Ssh-sftp-perl-users] Net::SFTP on Windows 2k Server
Brought to you by:
dbrobins
From: Roderick A. A. <raa...@ts...> - 2005-01-05 23:03:37
|
Roderick A. Anderson wrote: > Your vendor has not defined Fcntl macro F_SETFL, used at > D:/Perl/site/lib/Net/SSH/Perl.pm line 214. > Fcntl::AUTOLOAD() called at D:/Perl/site/lib/Net/SSH/Perl.pm line 214 I kept at it and hit it with a big hammer. I went through D:/Perl/site/lib/Net/SSH/Perl.pm and changed all ( including some in the documentation ) Net::SSH:Perl to Net::SSH:W32Perl. I then got a couple of missing module errors which were easy to fix. > my $sftp = Net::SFTP->new( 'host.domain.tld', \%args ); After fixing the \%args to be %args I now see the connection in the remote server's logs but this line never returns. These log entries are similar to the messages I see when I connect using WinSCP3 so I'm guessing I'm close. I now suspect WinSCP3 is doing something _not_-sftp, perhaps scp. I installed vsftp in the Linux box I'm trying to move files to but still no joy -- maybe a configuration or firewall issue. So after all this and lots of Google searches I'm running out of ideas? I'm close to offering money to get scp ( with password support ) added to Net::SSH::Perl since I doubt I'm up to the programming required to do it myself and I've found scp to be *there*. Any suggestions where to go from here? Rod -- --- [This E-mail scanned for viruses by Declude Virus] |