[Ilugc] shell and expect interaction

  • From: girishvenkatachalam@xxxxxxxxx (Girish Venkatachalam)
  • Date: Thu Oct 26 12:43:06 2006

On Thu, Oct 26, 2006 at 10:24:33AM +0530, Thangavelu Sivaraman wrote:

Hi All,

1)What is the procedure to call an expect script from a shell script?

2)Is it possible to do the vice versa?

3)I have to form a string like "20061026-abc-recent" (i have done it with
the date command in shell script) and send it to the ftp get command.(the
ftp automation is in expect).
Heck I forgot to mention that you use the URL sytax of

ftp://user:password@hostname/path ;

format to ncftpget or ncftpput to get what u want

Other related posts: