Issue with org.apache.commons.net.ftp.FTPClient listFiles()
- by James P.
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 root directory of public FTP servers such as belnet.be.
There is an identical question on the link below but enterRemotePassiveMode() doesn't seem to help.
http://stackoverflow.com/questions/2339855/apache-commons-ftpclient-listfiles
Could it be an issue with list parsing? If so, how can go about solving this?