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 回复数
--- Quote Start --- Ii use sash shell.Jjan --- Quote End --- sash provides ls as an internal command, so even if "ls" works in a script or on the command line, ftp needs ls to be a file based command (in /bin), (e.g. activated in busybox). BTW sash is depreciated, you should convert to msh (see Wiki). -Michael
I have ls in /bin, but it is only link .... but when i use busybox, every commands, which i add in busybox, are links.
Dont work in sash or msh shell, why ? Like ftp client use totalcommander. Jan--- Quote Start --- I have ls in /bin, but it is only link .... but when i use busybox, every commands, which i add in busybox, are links. --- Quote End --- All busybox generated commands are links to busybox. That is the "busybox trick". You don't need to bother, it just works (though slow, see the Wiki on "Haserl"). --- Quote Start --- Dont work in sash or msh shell, why ? --- Quote End --- I don't understand what you mean. --- Quote Start --- Like ftp client use totalcommander. --- Quote End --- You might try some decent Linux program, too, but of course TotalCommander should work if ls is decently enabled. -Michael
Sorry, I mean, that ls was add in sash shell - it doesnt work and when i used msh shell with ls, it doesnt work too.
I try any other linux program... I can try hush shell with ls in busybox. Jan--- 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
In C:\Windows\system32\ftp.exe the command ls in ok, but only file or directory name without extended info about files. Dir or ls -l does not list anything.
Jan