Skip to content

A light-weight multi-threaded downloader written in Go.

Notifications You must be signed in to change notification settings

mizumoto-cn/MTD-Go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MTD-Go

License No Nazism Allowed

Go Report Card codebeat badge Build


MTD-Go is a simple (also light-weight, maybe) multi-threaded downloader.

This project is governed by the Mizumoto General Public License v1.2 (MGPL v1.2).

Build

Download source code and type

go get -u && go mod tidy
go build

Tutorial

-h | help | --help

show help

--concurrency value | -c value

Set default concurrency number (default: CPU Core Number)

--output value, -o value

save as file at output path

--url value, -u value

'URL' from where the download begins

Try this on Windows Powershell!

go get -u && go mod tidy
go build
.\MTD-Go.exe -c 4 -o boo.tar.gz -u https://dlcdn.apache.org/zookeeper/zookeeper-3.8.0/apache-zookeeper-3.8.0-bin.tar.gz

Or run 'test_run.bat' directly.

About

A light-weight multi-threaded downloader written in Go.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published