Hello everybody,

I need to create a shell script in order to do ftp downloads during the
night (using crontab).

The point is:
how can I pass all the cd's and gets to the ftp command from inside the
script?

For example:
if the script is

ftp ftp.any.com
cd 1/2/3
get filename

the only thing it will do is contacting the ftp.any.com site, then it
will stops waiting for another command.

Instead I want to pass to the ftp command all the other commands: how
can I do  that?

Thanks everybody,
Norberto.

P.S.: if you can help me please CC me because I'm subscribed to the
post-only list.


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to