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 "$_"; }
In reply to Re^2: Getting variable sized reapones using Net::SSH2
by essej1
in thread Getting variable sized reapones using Net::SSH2
by essej1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |