GithubHelp home page GithubHelp logo

codecopy / altohttp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aalitor/altohttp

0.0 0.0 0.0 6.7 MB

AltoHttp provides fast and easy download management

License: GNU General Public License v2.0

C# 100.00%

altohttp's Introduction

AltoHttp

This simple library provides downloading over Http. It supports Pause and Resume in both for download and download queue

• Download file with just one line of code

• Get most useful properties of the download source such as ContentLength, Resumeability, ServerFileName..

• Due to event based programming, managing downloads is so easy

• Reports progress and speed every time when the progress is changed

• Create download queue with DownloadQueue and manage your download list

Nuget

Get AltoHttp at Nuget
Install-Package AltoHttp

#Usage

Downloading is so simple

HttpDownloader downloader = new HttpDownloader(targetUrl,targetPath);
downloader.Start(); 
//PAUSE
downloader.Pause();
//RESUME
downloader.Resume(); //downloader.Resume(filePathToResume) resumes from the existing file

Queue using


DownloadQueue myQueue = new DownloadQueue();
myQueue.Add(targetUrl1,targetPath1);
myQueue.Add(targetUrl2,targetPath2);
myQueue.StartAsync();
//PAUSE
myQueue.Pause();
//RESUME
myQueue.ResumeAsync();

New Features:

• Ability to edit Http request and response with events

• Using DownloadInfoReceived event you can ensure the headers (Content-Length, Resumeability, FileName) are received

New Features on 01.01.2021

• Resume capability improved to be able to resume on some sites that uses chunked stream e.g Google Drive

• Native messaging methods added for who wants to integrate with browser using extension

• To prevent resume on file corruption, file validation based on MD5 added

• New exceptions defined to be able to handle exceptions in UI

• Download in some sites which Content-Length returns -1 (Unknown) succesfully handled

• DemoApplication changed and improved

Demo Application

altohttp's People

Contributors

aalitor avatar dpawsbear avatar marjani 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.