Warren Mansur writes:
> Does anyone know if it's possible to script telnet or ftp sessions? I
> mean, normally you can type 'ftp blah' or 'telnet blah' and then obtain
> an interactive prompt. But, is there a way to write a script that will
> telnet or ftp, and then execute some commands without the user having to
> interact at all?
Get Expect.
(My opinion: Expect's usefulness outweighs TCL's hokey syntax.
However, if you've run up against a brick wall with TCL, check out
Perl's Expect module -- it works very well)
--kevin
--
Kevin D. Clark | | Will hack Perl for
[EMAIL PROTECTED] | [email protected] | fine food, good beer,
Enterasys Networks | PGP Key Available | or fun.
Durham, N.H. (USA) | |
**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************