Skip navigation.
Home
The QNX Community Portal

View topic - ftp> /bin/ls: Function not implemented

ftp> /bin/ls: Function not implemented

Discussion about the QNX6 OS.

ftp> /bin/ls: Function not implemented

Postby bjamin2002 » Thu Sep 20, 2007 9:24 pm

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:

Code: Select all
# 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.
bjamin2002
New Member
 
Posts: 4
Joined: Wed Sep 19, 2007 9:14 pm

RE: ftp> /bin/ls: Function not implemented

Postby maschoen » Thu Sep 20, 2007 11:39 pm

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.
maschoen
QNX Master
 
Posts: 2640
Joined: Wed Jun 25, 2003 5:18 pm

RE: ftp> /bin/ls: Function not implemented

Postby bjamin2002 » Fri Sep 21, 2007 2:01 pm

There is no /usr/ftp/bin directory.
bjamin2002
New Member
 
Posts: 4
Joined: Wed Sep 19, 2007 9:14 pm

RE: ftp> /bin/ls: Function not implemented

Postby xtang » Fri Sep 21, 2007 3:35 pm

User "ftp" is a special user for anonymous ftp.

The ftpd page in utility document here (http://www.qnx.com/developers/docs/6.3. ... /ftpd.html) has a session called "Setting up a restricted ftp subtree".

You need to follow those steps.

If this is not your intension, create your own user (no, root is not a good choice), with password, and try it.
xtang
QNX Master
 
Posts: 313
Joined: Thu Jul 18, 2002 5:01 pm

Re: ftp> /bin/ls: Function not implemented

Postby Geminix » Tue Aug 16, 2011 11:29 pm

I know this is an old post, but thought it could help, in my case, i get this error when the pipe goes down (/sbin/pipe)
Geminix
New Member
 
Posts: 1
Joined: Sat Aug 25, 2007 8:14 pm


Return to QNX6 - OS

Who is online

Users browsing this forum: Google [Bot] and 1 guest