title: Download multiple concurrent files
body: <p>I need download multiple files in one time (About 100 files)</p>
  
  <p>It does not matter whether the download is synchronized</p>
  
  <p>And the important thing is that all files be downloaded.</p>
  
  <p>My code for getting urls and file names:</p>
  
  <pre><code>for (int i = 0; i &lt; AssetData.size(); i++){
          String item = AssetData.get(i).toString();
          String name[] = item.split("/");
          String Url = setting.Main_Domain+"/"+item;// Url for downloading
          String fname =name[name.length-1] ;// File name like: test.txt
          File file2 =  new File(getFilesDir(),item.replace(fname,"")); // Parent File like: data/user/0/com.test.app/data/
          if(!file2.exists()){file2.mkdir();}
  
      }
  </code></pre>
  
  <p>The size of the files is small and all together is about 3 megabytes.</p>