----8<---------
----
use Net::SSH::W32Perl;
my $ssh = Net::SSH::W32Perl->new($host, debug=>1);
$ssh->login('xxxxx', 'xxxxxxxxx');
my($stdout, $stderr, $exit) = $ssh->cmd('ls', "\n");
print "$stdout\n$stderr\n$exit\n";
----
And this one work...but I want to get back $stdout...I don't
want to create a file...I want the result back!!!
----8<---------
Bonjour mon Net::SSH::W32Perl ami,
Unfortunately redirection seems to be the only way to get W32Perl code
to work. I thought I could live with that and use Net::SFTP to get the
redirected output on my WinXP machine, but that too hangs even when you
update the module to use Net::SSH::W32Perl.
I and others I've contacted offline have spent hours googling to no
avail. Most of us gave up and went down the CGI path, but for the time
being I'm leaving it on my to do list.
Do let the list know if you come up with anything.
Bonne chance!
Just in
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs