Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

inetd or ftpd does not display file listing of directory

Hi, All!

I use inetd & (how it is written in nioswiki) and the ftpd service work fine (about 2-2.5MB/s), but i am not able to perform dir or list - listing files of actual directory.

Could you tell me why ? What could be set in inetd.conf or ftpd...?

Thank you very much.

Jan Naceradsky, Czech Republic

16 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hello,

    ls in all shell work. Listing in ftp client doesn´t work.

    Maybe the error is in other parts of uClinux.

    Jan
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    ls in all shell work. Listing in ftp client doesn´t work.

    --- Quote End ---

    This is a well known problem. many shells have ls as a built-in command. ftp needs ls as an executable (or link to an executable) in (if I remember correctly) "/bin.

    try

    /bin/ls

    and

    /bin/ls -l

    does this work ?

    --- Quote Start ---

    Maybe the error is in other parts of uClinux.

    --- Quote End ---

    Unlikely !

    -Michael
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    are you trying to use the command "dir" to show the listing of the ftp?