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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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
 
Seriously? That's what you're going with? I prefer this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
    Bookmark Topic Watch Topic
  • New Topic