Coder Social home page Coder Social logo

owaresabd / download_manager Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nowshad-hasan/download_manager

0.0 1.0 0.0 613 KB

It is built for Networking lab. It is the project which is described in 'Java-The_Complete_Reference'. But some features are added .

Java 100.00%

download_manager's Introduction

Download_Manager

This project is made for our academic projct of Networking lab. It is the project which is described in Java- The Complete Reference. But some extra features are added.

Getting Started

JAVA- The Complete Reference is one of the nicest books I've ever read for JAVA language by Herbert Schildt. There is a project in the last chapter named Download Manager. It is a nice project but has some limitations. For individual download, it creates a separate thread. But for a particular file download, it uses only one thread. If we can download a file using multiple threads, wouldn't be it nice? That's the project I did in my Networking Lab.

alt text

We all know that file is downloaded byte by byte. So, I save those bytes from the server in different ArrayList from different threads. After downloading the last byte, I merged those downloaded bytes from ArrayList sequentially. Finally, the File to be Downloaded is made. Here is the screenshot of those bytes of the downloading file.

alt text

After finishing the download, the file is saved on the destination folder.

alt text

Prerequisites

You need to install JAVA for running this project. Please check by typing java -version if JAVA is installed or not.

Installation

Go to Download_Manager/dist folder or click the link https://github.com/nowshad-hasan/Download_Manager/tree/master/dist. Download the Download_Manager.jar file
and run java -jar Download_Manager.jar in terminal or cmd.

download_manager's People

Contributors

nowshad-hasan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.