Dear all,
I plan to write a simple remote connection script, and then "ls" the content
of the current directory, input like
telnet hostname
username
password
ls
I use the following script:
system ("telnet hostname");
<STDOUT> = "username\n";
<STDOUT> = "password\n";
system ("ls");
It failed in the <STDOUT> syntax.
Can anyone kindly give me a hint?
Thanks,
Jie
____________________________________________________________________
Get free email and a permanent address at http://www.amexmail.com/?A=1