/Download_in_fragments

Download a file in two parts by using two threads and combining them

Primary LanguageJavaMIT LicenseMIT

Download_in_fragments

  • Simple download command to download any file in two seperate parts using two threads.
  • Simple command to download multiple batch files using wild card

To use singlefile download:

  • Go to the directory
  • open terminal there
  • write java singlefile < url of file >

To use Batchdownload :

  • Go to directory
  • open terminal there
  • write java Batchdownload < url of file > < lower option > < higher option >
  • eg : java Batchdownload http://79.127.126.110/Serial/The%20Mentalist/S06/The-Mentalist.S06E0*.480p.mkv 1 3
  • use '*' as a wild card ..

Note : If url is not valid then Exceptions are returned