Issue with org.apache.commons.net.ftp.FTPClient listFiles()
Posted
by James P.
on Stack Overflow
See other posts from Stack Overflow
or by James P.
Published on 2010-04-05T02:26:14Z
Indexed on
2010/04/05
2:33 UTC
Read the original article
Hit count: 394
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?
© Stack Overflow or respective owner