Skip to content
/ AltoHttp Public
forked from aalitor/AltoHttp

AltoHttp provides fast and easy download management

License

Notifications You must be signed in to change notification settings

ywscr/AltoHttp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

AltoHttp provides fast and easy download management

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%