There seems to be a problem with the path when using ftpd. I am trying to access the QNX computer over ftp. If I use some ftp program, it can’t read the directory. If I do on the QNX machine:
# ftp localhost
...login as ftp...
ftp> ls
200 PORT command successful.
550 /bin/ls: Bad file descriptor.
ftp> ls
200 PORT command successful.
550 /bin/ls: Function not implemented
It is not only ls that has a problem. Can’t find any info on this problem.
I had this problem a while ago. I’m pretty sure that to fix the problem, I had to put /bin/ls in /usr/ftp/bin. You would want to make that ls executable by all but not read or writeable.