Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Getting variable sized reapones using Net::SSH2

by essej1 (Novice)
on Sep 06, 2012 at 20:17 UTC ( #992181=note: print w/ replies, xml ) Need Help??


in reply to Re: Getting variable sized reapones using Net::SSH2
in thread Getting variable sized reapones using Net::SSH2

Thanks. It works like a champ. Got to love undocumented features. While messing around I also found this may also work. I think your's is probably better.

print $chan2 "\ndir\n"; while (<$chan2>) { print "$_"; }
Paradise: Florida, full tank of gas, no appointments.


Comment on Re^2: Getting variable sized reapones using Net::SSH2
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://992181]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (16)
As of 2014-12-22 13:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (118 votes), past polls