Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

FTP Servers

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
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
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Why did you create a new topic when you already got an answer in this duplicate post?

Please do not post the same question to multiple forums: CarefullyChooseOneForum
    Bookmark Topic Watch Topic
  • New Topic