FTP dir command

2007-12-25 4:40:00

Hardware: Sun V100
OS: Sun Solaris 9 09/04

I am setting up an FTP server in Solaris. The 'dir' command does not
produce the results I would expect.

ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
226 Transfer complete.

The 'ls' command produces the following results in the same directory:

ftp> ls
200 PORT command successful.
150 Opening ASCII mode data connection for file list.
AV9
Ghost
ISA4.3
PCAnywhere
Spanish_files
brightmail
upload
226 Transfer complete.
67 bytes received in 0.028 seconds (2.38 Kbytes/s)

Another issues is that the 'ls' command works fine from a Sun box and
from an M$ box, but not from a Linux box. In Linux, the 'ls' and 'dir'
commands produce the same results as the 'dir' command example above.

Does anyone have a suggestion on how I can correct this?

TIA
Marc B.

Comments

Got something to say?

You must be logged in to post a comment.