how to access directory from file server in java?
<p>HI...</p>

<p>Currently I m working in a application in which application allows to access directory (which contains some files) from file server to Application (client).</p>

<p>I tried following code..</p>

<pre><code>URL url=("http://192.168.5.555/file-server/user/images/");
URI uri=url.toURI();
File list[];

list= new File(uri).listFiles();
</code></pre>

<p>But its thrown  <code>java.lang.IllegalArgumentException</code> Exception.</p>

<p>I don't know how this happen?</p>

<p>I simply access images directory from the given URL (file server).</p>

<p>Help me...</p>
