Please don't. ftp commands are easily automated in a shell script as has
been shown up* times in this newsgroup.
You can call a script like this one below from the command-line, or cron,
passing it any or all of the variables to meet your requirements. Expect,
however, does work well for automating telnet sessions...
ftp -in $servername <<-!
user $user $password
> I had to do this and used an expect script. It works really well.
> man expect
> > hi..
> > i would like to automate an ftp transfer .
> > i have set up my .netrc file and can log in automaticaly .
> > but i would like to create a script to kick off the ftp automatically
> > and get files from a remote server..
> > i will use cron or at to kick it off , but how can i get unix to
> > automatically get the files
> > thanks in advance