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

Re: To call remote file.

by WalkingZero (Sexton)
on Aug 21, 2007 at 06:44 UTC ( [id://634017]=note: print w/replies, xml ) Need Help??


in reply to To call remote file.

You mean the parent script is running in windows and you want it to call a pre-existing script on a different box running a UNIX system? There are several ways to do this(after all TIMTWTDI). It would really depends what kind of connection there is between the two boxes for what the best way to handle it is. Are you running file-shares between the two? Telnet? SSH? The best way to do it is going to depend on what kind of access you have available.

Replies are listed 'Best First'.
Re^2: To call remote file.
by Anonymous Monk on Aug 21, 2007 at 12:32 UTC
    Hi,

    Thanks for your replay,

    1) Not using file-share between two.

    2) access the unix through Telnet.

      That's easy then, just install the Net::Telnet module. You can download it of course from cpan.org. Make sure to read up on the functions, but it should be quite easy to do what you are asking through Telnet.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2025-02-15 12:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found