How can I run automatically ftp

I’m new to QNX and I’d like to know, from within a
shell script (sh), how to start automatically ftp with
my login - password and some commands. I did write
some commands into .netrc file and then I have run ftp
from the script but don’t run. I’d like How can I do
it?


Alexander


Do You Yahoo!?
Envía mensajes instantáneos y recibe alertas de correo con
Yahoo! Messenger - http://messenger.yahoo.es


Posted from web5201.mail.yahoo.com [216.115.106.95]
via Mailgate.ORG Server - http://www.Mailgate.ORG

If you are using QNX6 (RTP), it comes with ncftp.
http://www.ncftpd.com/ will answer all your questions. Also I’m sure you
will soon abandon ftp at all and only use ncftp :wink: it’s better.
Markus


“Alexander” <falexanderbc@yahoo.es> wrote in message
news:20010307131353.19866.qmail@web5201.mail.yahoo.com

I’m new to QNX and I’d like to know, from within a
shell script (sh), how to start automatically ftp with
my login - password and some commands. I did write
some commands into .netrc file and then I have run ftp
from the script but don’t run. I’d like How can I do
it?


Alexander


Do You Yahoo!?
Envía mensajes instantáneos y recibe alertas de correo con
Yahoo! Messenger - > http://messenger.yahoo.es


Posted from web5201.mail.yahoo.com [216.115.106.95]
via Mailgate.ORG Server - > http://www.Mailgate.ORG

For example (change the <> with appropriate values):

-seanb

#! /bin/ksh
ftp -n <<HERE
user
lcd /tmp
cd /tmp
get wordy /dev/null
bye
HERE

Alexander <falexanderbc@yahoo.es> wrote:
: I’m new to QNX and I’d like to know, from within a
: shell script (sh), how to start automatically ftp with
: my login - password and some commands. I did write
: some commands into .netrc file and then I have run ftp
: from the script but don’t run. I’d like How can I do
: it?


: Alexander