For FTP and HTTP free space size
<p>I want to know the free space on http and ftp path(network path like <code>http://aboiil/hello</code> and FTP) using java. I found a sample to know the free space on local drive:</p>

<pre><code>System.out.println(new File("\\\\altiris-vss\\SYM-SMP").getFreeSpace());
</code></pre>

<p>Please help me i am unable to solve it.</p>
