FW: Needed - remote login and piped execution script.
ricks at mp3.com
Wed Sep 6 17:29:15 CDT 2000
Guess I'll try sending this again...
From: Rick Schlientz [mailto:rschlientz at yahoo.com]
Sent: Thursday, August 31, 2000 5:10 PM
To: San Diego Perl Mongers
Subject: Needed - remote login and piped execution script.
I'm trying to write some perl code to log into a system, launch a program,
then launch a program on the local system and connect it's stdout to the
remote systems stdin, etc. I was thinking Expect.pm would be a good tool
for the job, but would like some advice on how to go about using it, or
advice on a better way of doing things if there is one.
An example sequence for tar would be this:
1) Telnet to the remote system.
2) Login to the remote system.
3) Launch tar xvpf - on the remote system.
4) Launch tar cf - ./ (or whatever) on the local system.
5) Let tar happen.
6) Close down the remote tar.
7) Close down the local tar.
Comments? Ideas? Thanks in advance!
The posting address is: san-diego-pm-list at hfb.pm.org
List requests should be sent to: majordomo at hfb.pm.org
If you ever want to remove yourself from this mailing list,
you can send mail to <majordomo at happyfunball.pm.org> with the following
command in the body of your email message:
If you ever need to get in contact with the owner of the list,
(if you have trouble unsubscribing, or have questions about the
list itself) send email to <owner-san-diego-pm-list at happyfunball.pm.org> .
This is the general rule for most mailing lists when you need
to contact a human.
More information about the San-Diego-pm