It would be nice if there was a way to list only those files I'm interested in. I've had to write a loop a couple of times to figure out which files had the right naming conventions. If the API handled that for me, I would have less boilerplate code to write.
I would attach a patch but as of this time I cannot download the source due to an internal server error.
I was imagining the introduction of a new interface org.apache.commons.net.ftp.FTPFileFilter that would be analogous to java.io.FileFilter:
A new method on FTPClient would need to be created to support it. Here's a code sample using API calls:
See java.io.File.listFiles(java.io.FileFilter) for comparison.