posted 16 years ago
I'm working with the class
org.apache.commons.net.ftp.FTPClient
I want to do search operation for a file in FTP servers(means both filename and path will be given).
I tried out with the command listFiles() and I’m able to get the files in that particular path and even I’m able to search operation by looping through the file list. But now performance issue has arise. If there’s 10000 files in specified path it will take more time to get reply.
So Is there any command in org.apache.commons.net.ftp package that will provide solution to my problem.
Does someone had this issue before? How was it solved?
Thanks in advance
Ranjan