What command the client sends will affect what is returned by the FTP server. This is how it's supposed to work...

[edit] If you compare the two lists below then you'll notice that any block or character devices aren't included in one of the lists. In this case empeg_kernel and empeg_bootlogos

- Trevor

ftp> dir
200 Okay.
150 Opening data connection.
dr-xr-xr-x 3 0 0 0 May 20 19:46 ide
-r--r--r-- 1 0 0 0 May 20 19:46 empeg_power
-r--r--r-- 1 0 0 0 May 20 19:46 empeg_therm
-r--r--r-- 1 0 0 0 May 20 19:46 empeg_id
-r--r--r-- 1 0 0 0 May 20 19:46 empeg_rds
-r--r--r-- 1 0 0 0 May 20 19:46 empeg_state
-r--r--r-- 1 0 0 0 May 20 19:46 empeg_usb
-r--r--r-- 1 0 0 0 May 20 19:46 empeg_ir
-r--r--r-- 1 0 0 0 May 20 19:46 empeg_cs4231
-r--r--r-- 1 0 0 0 May 20 19:46 audio
brw------- 1 0 0 60, 8 May 20 19:46 empeg_kernel
brw------- 1 0 0 60, 5 May 20 19:46 empeg_bootlogos
-rw-r--r-- 1 0 0 0 May 20 19:46 empeg_notify
-r--r--r-- 1 0 0 1124 May 20 19:46 empeg_screen.png
-r--r--r-- 1 0 0 2048 May 20 19:46 empeg_screen.raw
-r--r--r-- 1 0 0 0 May 20 19:46 misc
dr-xr-xr-x 2 0 0 0 May 20 19:46 bus
dr-xr-xr-x 4 0 0 0 May 20 19:46 tty
-r--r--r-- 1 0 0 0 May 20 19:46 slabinfo
-r--r--r-- 1 0 0 0 May 20 19:46 swaps
-r--r--r-- 1 0 0 0 May 20 19:46 mounts
-r--r--r-- 1 0 0 0 May 20 19:46 locks
-r--r--r-- 1 0 0 0 May 20 19:46 cmdline
-r--r--r-- 1 0 0 0 May 20 19:46 ioports
-r--r--r-- 1 0 0 0 May 20 19:46 dma
dr-xr-xr-x 2 0 0 0 May 20 19:46 fs
-r--r--r-- 1 0 0 0 May 20 19:46 filesystems
-r--r--r-- 1 0 0 0 May 20 19:46 interrupts
-r--r--r-- 1 0 0 0 May 20 19:46 partitions
-r--r--r-- 1 0 0 0 May 20 19:46 devices
-r--r--r-- 1 0 0 0 May 20 19:46 stat
-r--r--r-- 1 0 0 0 May 20 19:46 ksyms
-r--r--r-- 1 0 0 0 May 20 19:46 modules
-r-------- 1 0 0 16781312 May 20 19:46 kcore
dr-xr-xr-x 10 0 0 0 May 20 19:46 sys
dr-xr-xr-x 2 0 0 0 May 20 19:46 scsi
dr-xr-xr-x 4 0 0 0 May 20 19:46 net
lrwxrwxrwx 1 0 0 64 May 20 19:46 self -> 50
-r--r--r-- 1 0 0 0 May 20 19:46 cpuinfo
-r--r--r-- 1 0 0 0 May 20 19:46 version
-r-------- 1 0 0 0 May 20 19:46 kmsg
-r--r--r-- 1 0 0 0 May 20 19:46 meminfo
-r--r--r-- 1 0 0 0 May 20 19:46 uptime
-r--r--r-- 1 0 0 0 May 20 19:46 loadavg
dr-xr-xr-x 3 0 0 0 May 20 19:46 1
dr-xr-xr-x 3 0 0 0 May 20 19:46 2
dr-xr-xr-x 3 0 0 0 May 20 19:46 3
dr-xr-xr-x 3 0 0 0 May 20 19:46 4
dr-xr-xr-x 3 0 0 0 May 20 19:46 5
dr-xr-xr-x 3 0 0 0 May 20 19:46 6
dr-xr-xr-x 3 0 0 0 May 20 19:46 7
dr-xr-xr-x 3 0 0 0 May 20 19:46 12
dr-xr-xr-x 3 0 0 0 May 20 19:46 16
dr-xr-xr-x 3 0 0 0 May 20 19:46 35
dr-xr-xr-x 3 0 0 0 May 20 19:46 36
dr-xr-xr-x 3 0 0 0 May 20 19:46 37
dr-xr-xr-x 3 0 0 0 May 20 19:46 38
dr-xr-xr-x 3 0 0 0 May 20 19:46 39
dr-xr-xr-x 3 0 0 0 May 20 19:46 40
dr-xr-xr-x 3 0 0 0 May 20 19:46 41
dr-xr-xr-x 3 0 0 0 May 20 19:46 43
dr-xr-xr-x 3 0 0 0 May 20 19:46 44
dr-xr-xr-x 3 0 0 0 May 20 19:46 45
dr-xr-xr-x 3 0 0 0 May 20 19:46 46
dr-xr-xr-x 3 0 0 0 May 20 19:46 47
dr-xr-xr-x 3 0 0 0 May 20 19:46 48
dr-xr-xr-x 3 0 0 0 May 20 19:46 49
dr-xr-xr-x 3 0 0 0 May 20 19:46 50
total 0
226 Okay.

ftp> ls
200 Okay.
150 Opening data connection.
empeg_power
empeg_therm
empeg_id
empeg_rds
empeg_state
empeg_usb
empeg_ir
empeg_cs4231
audio
empeg_notify
empeg_screen.png
empeg_screen.raw
misc
slabinfo
swaps
mounts
locks
cmdline
ioports
dma
filesystems
interrupts
partitions
devices
stat
ksyms
modules
kcore
self
cpuinfo
version
kmsg
meminfo
uptime
loadavg
226 Okay.


Edited by tman (20/05/2002 12:44)