MS-DOS Style "dir" Directory Listing

Need help with FileZilla Server? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
tsuki
500 Command not understood
Posts: 1
Joined: 2007-08-03 13:12

MS-DOS Style "dir" Directory Listing

#1 Post by tsuki » 2007-08-03 13:18

I've got some code that as part of its operation lists files from an FTP server using the MS-DOS style "dir" command through the Windows command-line "ftp" app. This works fine on the IIS FTP server (running on Win XP Pro SP2), but IIS is being unreliable so I'd like to switch.

However, FileZilla doesn't seem to support this command. Is there any way to get it to do so?

(Using the FileZilla server is perfect through a traditional client, which presumably does things differently.)

User avatar
botg
Site Admin
Posts: 35509
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

#2 Post by botg » 2007-08-03 15:23

"dir" is not part of the FTP protocol. You're confusing a client command with the actual FTP commands.

User avatar
boco
Contributor
Posts: 26914
Joined: 2006-05-01 03:28
Location: Germany

#3 Post by boco » 2007-08-04 03:38

The ftp.exe from M$ is translating DOS commands to FTP commands and vice versa. But AFAIK it doesn't support PASV mode (don't know about the Vista one though).

Post Reply