title: How to download entire folder in java?
body: <p>I want to download entire folder/directory from server.
  The folder contain files. I tried it with zip functionality but for that i need to give path till the files and not the folder path.</p>
  
  <p>like -</p>
  
  <pre><code>BufferedInputStream in = new BufferedInputStream(new FileInputStream("d:\\StoreFiles\\Temp\\profile.txt"));
  </code></pre>
  
  <p>I want something like ("d:\StoreFiles") which will download all the folders in Storefiles folder and the files inside the folder.</p>
  
  <p>How can i implement this?</p>