Skip to content

Download Manager in Java to download multiple files in parts parallely

License

Notifications You must be signed in to change notification settings

archit47/DownloadManager

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DownloadManager

Download Manager in Java to download multiple files in parts parallely

Execution Logic

• Take a new URL from the user.

• Check URL for validity.

• Spawn a new thread for each new URL.

• Check if server allows division of files in parts.

o If server permits, divide the file into a specified number of parts and download each part separately in its own thread.

o If it does not, download the complete file in this thread only.

• Display file’s progress (combined progress in case of downloading in parts) in the main GUI screen.

• Perform pause/resume or stop functions if user requests.

• Upon completion, join the parts in correct order to get the final file and exit all threads properly.

• Wait for another URL.

RUN:

Gui.java

About

Download Manager in Java to download multiple files in parts parallely

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published