how to configure FTP server?

We work under qnx4.25.
When type the command netstat -an|grep 21
It shows “tcp 0 0 *.21 . LISTEN” .It seems ok .
And we checked the file /etc/passwd and /etc/ftpusers,It’s absolute
right.
Then we type the command ftpd -d.

We try the command “ftp 123.123.123.123” from windows.
It shows “connected to 123.123.123.123” for about two minutes then

it shows “connected closed by remote host”

Any advice is appreciated!

lzhxu

“diamond” <gpjin@nairc.ac.cn> wrote in message
news:9v6h2c$r22$1@inn.qnx.com

We work under qnx4.25.
When type the command netstat -an|grep 21
It shows “tcp 0 0 *.21 . LISTEN” .It seems ok .
And we checked the file /etc/passwd and /etc/ftpusers,It’s absolute
right.
Then we type the command ftpd -d.

Do you have both inetd and ftpd running at the same time?
You can only have one of them running (or remove ftp services
from inetd.conf).

Next time please use the qdn.public.qnx4 conference

We try the command “ftp 123.123.123.123” from windows.
It shows “connected to 123.123.123.123” for about two minutes then

it shows “connected closed by remote host”

Any advice is appreciated!

lzhxu