[buug] ftp in shell script
Pong-TC
pong at taft.org
Mon Sep 9 11:12:41 PDT 2002
Hello All
I am very new with UNIX. I am trying to include ftp commands in my shell
script, but it is not successful yet. I want to ftp and grab files from
another host, and then run other commands in the script file. I have
commands in my script file as follows:
Other commands.
....
....
ftp hostname
loginname
password
cd regs:
get stufile.bcf
bye
other commands...
....
The problem is that it always asks me to put my login and password. It
didn't automatically go through as I wish. Can anyone please help?
Thank you.
Pong
More information about the buug
mailing list