{"id":300,"date":"2010-05-20T10:18:45","date_gmt":"2010-05-20T17:18:45","guid":{"rendered":"http:\/\/cknotes.com\/?p=300"},"modified":"2010-05-20T10:18:45","modified_gmt":"2010-05-20T17:18:45","slug":"ftp-mlst-command","status":"publish","type":"post","link":"https:\/\/cknotes.com\/ftp-mlst-command\/","title":{"rendered":"FTP MLST command?"},"content":{"rendered":"<p><strong>Question:<\/strong><\/p>\n<p>A quickie question about the FTP2 control.  I have some clients with strange<br \/>\nFTP servers that return the directory listings in formats that no control<br \/>\nseems to be able to handle (although I have not tried yours!).  However, it<br \/>\nis next to impossible to test, since I do not have access to their server.<br \/>\nFor them, we use the MLST command, so they return plain filenames (since this<br \/>\nis universally supported, while the full listings vary by server).  How do I<br \/>\ndo this with FTP2?  <\/p>\n<p><strong>Answer:<\/strong><\/p>\n<p>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&#8217;s, OpenVMS, Unix variants, Windows, and many others.   In summary:  You shouldn&#8217;t need to worry about what the FTP server is sending for directory listings.  Chilkat FTP2 handles it all internally..<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[440,285],"class_list":["post-300","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-ftp","tag-mlst"],"_links":{"self":[{"href":"https:\/\/cknotes.com\/wp-json\/wp\/v2\/posts\/300","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cknotes.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cknotes.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cknotes.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cknotes.com\/wp-json\/wp\/v2\/comments?post=300"}],"version-history":[{"count":0,"href":"https:\/\/cknotes.com\/wp-json\/wp\/v2\/posts\/300\/revisions"}],"wp:attachment":[{"href":"https:\/\/cknotes.com\/wp-json\/wp\/v2\/media?parent=300"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cknotes.com\/wp-json\/wp\/v2\/categories?post=300"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cknotes.com\/wp-json\/wp\/v2\/tags?post=300"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}