Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: NET::TELNET to access Windows Servers

by rupesh (Hermit)
on Nov 29, 2004 at 06:19 UTC ( #410870=note: print w/ replies, xml ) Need Help??


in reply to NET::TELNET to access Windows Servers

Soul,
Check whether you have established the connection with the remote server by checking the return value of each the  $telnet -> ... commands.
Also, in your code, you have used single quotes as in  print $telnet->cmd( 'dir' ); , but in your problem statement, you mention backticks "`".

You might also want to have a look at this node.
Perform a Super Search, where you might get more useful hints.

Cheers,
Rupesh.


Comment on Re: NET::TELNET to access Windows Servers
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2015-07-06 00:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (68 votes), past polls