It's not a secret anymore!
The moose likes Beginning Java and the fly likes search files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "search files" Watch "search files" New topic

search files

prakash ramakrishnan

Joined: Feb 20, 2006
Posts: 6

I have list of all the InetAddress attached to the LAN. I want to search particular file types in a system using its InetAddress. (InetAddress is nothing but IP address) Using that i want to search mp3 , jpeg etc files are in the system. Can any one help me..

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42959
What kind of access do you have to those machines - are they all shared drives? Then you can mount them and perform a directory scan.
The jCIFS library ( can help with this if the target machines, but not the client, are Windows machines.
It is sorta covered in the JavaRanch Style Guide.
subject: search files
It's not a secret anymore!