have ones app copy file from webpage
<p>I have made an app that have to copy a file from a webpage, the following code doesn't do the job, it can't find the file</p>

<pre><code>File ekstern = new File("http://192.168.13.40/cache.manifest");

copyFile(ekstern, intern);
</code></pre>

<p>and the copyFile method:</p>

<pre><code>    public static void copyFile(File in, File out) throws IOException {
        FileChannel inChannel = new
            FileInputStream(in).getChannel();
        FileChannel outChannel = new
            FileOutputStream(out).getChannel();
        try {
            inChannel.transferTo(0, inChannel.size(),
                        outChannel);
        } 
        catch (IOException e) {
            throw e;
        }
        finally {
            if (inChannel != null) inChannel.close();
            if (outChannel != null) outChannel.close();
        }
   }
</code></pre>

<p>But the code says that the file doesn't exists</p>

<p>testing with <em>ekstern.exists()</em></p>
