title: Download file from server in java
body: <p>In my java application I am using the following method to download files from server.</p>
  
  <pre><code>public void kitapJar(){
      File f = new File("C:/PubApp_2.0/update/lib/kitap.jar");
      try{
  
      URL kitap = new URL("http://example.com/update/PubApp_2.0.jar");
      org.apache.commons.io.FileUtils.copyURLToFile(kitap, f);   
      }
      catch(IOException ex){
      System.out.println("Error...!!");}
      }
     } 
  </code></pre>
  
  <p>But this download is very slow. How can i make it fast ?</p>