title: Search for files from another machine using Java
body: <p>I need to create a small utility. Using Java, remotely (from another machine) I need to search for files (whether particular files exist or not). I would know exact names of files, or if not, I would know their partial names (so I will be using wildcards).</p>
  
  <p>The problem is: I cannot install anything on that machine (it's a corporate box), but I am allowed FTP, Telnet, SSH login, etc. I would not want to use FTP because there are hundreds of directories and there's no way to know ahead of time where the files are each time (using ftp command <code>LS</code> on each directory every time is simply unproductive). So the best would be to use internal unix '<code>find</code>' command. Or a similar approach.</p>
  
  <p>I need the best solution to the problem: how can I search for files (from hundreds of thousands files in many different folders) remotely on another machine.</p>