fitz@mml0.meche.rpi.edu (Brian Fitzgerald) (05/21/91)
Archive-name: unix/shell/expect/1991-05-20 Archive: durer.cme.nist.gov:/pub/expect.shar.Z [129.6.32.4] Original-posting-by: fitz@mml0.meche.rpi.edu (Brian Fitzgerald) Original-subject: Re: controlling ftp process from a shell script or c program Reposted-by: emv@msen.com (Edward Vielmetti, MSEN) >I am trying to find an intelligent way to transfer files from >an ftp server to my account. When I say intelligent I mean that Try "expect". The man page contains an example of how to do this. Expect was written by a wizardly person in order to reduce such problems to non-wizardly shell programming tasks. :-) Get expect by anon ftp from durer.cme.nist.gov in /pub. You also need the tcl library, available from ucbvax.berkeley.edu in /pub. Brian -- comp.archives file verification durer.cme.nist.gov -rw-rw-r-- 1 100 10 114265 May 16 19:15 /pub/expect.shar.Z found expect ok durer.cme.nist.gov:/pub/expect.shar.Z