in reply to How to disable timeout in Net::Telnet
The only thing changed from the code I ran is the IP and the User and pass and it is still hung (5+ minutes). This is on Win2K with ActiveState's v5.6.1 build 629.use Net::Telnet ; my $telnetSession = new Net::Telnet (Timeout => undef, Prompt => '/\>/ +') ; $telnetSession->open("10.0.0.1") ; $telnetSession->login("administrator", "password") ; my @DirInfo = $telnetSession->cmd("dir") ;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: How to disable timeout in Net::Telnet
by Marza (Vicar) on Jun 17, 2002 at 22:18 UTC | |
|
Re: Re: How to disable timeout in Net::Telnet
by sksridevnair (Initiate) on Jun 18, 2002 at 09:25 UTC |