Issue with org.apache.commons.net.ftp.FTPClient listFiles()

前端 未结 3 488
迷失自我
迷失自我 2020-12-19 07:01

The listFiles() method of org.apache.commons.net.ftp.FTPClient works fine with Filezilla server on 127.0.0.1 but returns null on the r

3条回答
  •  时光取名叫无心
    2020-12-19 07:52

    There was a parsing issue in earlier version of apache-Commons-net , the SYST command which returns the server type when returns null ( abruptly ) was not handled in parsingException . Try using the latest jar of apache-commons-net it may solve your problem.

提交回复
热议问题