FTP MLST command?
Question:
A quickie question about the FTP2 control. I have some clients with strange
FTP servers that return the directory listings in formats that no control
seems to be able to handle (although I have not tried yours!). However, it
is next to impossible to test, since I do not have access to their server.
For them, we use the MLST command, so they return plain filenames (since this
is universally supported, while the full listings vary by server). How do I
do this with FTP2?
Answer:
The Chilkat FTP2 component automatically detects at connect-time whether the FTP server supports MLST. If so, then MLST is automatically used internally. If the server does not support MSLT, then Chilkat FTP2 is already capable of parsing FTP directory listings from virtually every variant of FTP server, including MVS (old mainframes), AS/400’s, OpenVMS, Unix variants, Windows, and many others. In summary: You shouldn’t need to worry about what the FTP server is sending for directory listings. Chilkat FTP2 handles it all internally..