Who can tell me why IE know which is file and which is folder??

解决方案 »

  1.   

    Why IE connect to a FTP server then it will display the file and folder?
      

  2.   

    用list方法,其中返回了字符串中有一个字符代表文件夹或是文件,你行自已分析啊(不要用NList,它只能返回文件名)要么你就用DoCommand自已发命令。
      

  3.   

    如果服务器是windows系列的,倒好说,在这个字符里是有一个“<DIR>”表示是文件夹,
    但是如果是别的,比如Linux,那么显示的字符就没有了,而且找不出规律。
      

  4.   

    Why:
     If FTP server is window then list will display file and folder
     else if FTP server is linux then list will only display folder?