on the program line
$t= new Net::Telnet (Timeout=>10; Prompt => '/bash\$ $/');

What is the Prompt portion mean? I think it's saying look for a bash$ prompt minus the 
$. I don't know. Please explain.

Also, how would I set up the Prompt command to have the system look for the prompt   
ftp>

My original problem was connecting via telnet from one unix machine to another.  I was 
able to make it work, once I took the "prompt" portion out of my program. That portion 
is suppose to check for the specific prompt, and I'm not sure what the slashes mean ( 
I thought esc key)


Past history...
Now I'm trying to ftp from the machine I telneted to.
My commands without perl are
ftp
open  machine.name.com
root
password

I'm not able to get the ftp to work from inside my telneted session. Maybe I need to 
have the net::telnet module set up on the machine I just telneted to.

thanks



_______________________________________________
Perl-Unix-Users mailing list. To unsubscribe go to 
http://listserv.ActiveState.com/mailman/subscribe/perl-unix-users

Reply via email to