Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

wudong5/fdlr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

2 Commits

Repository files navigation

Download file in Golang

Build Status

Featues:

  • support HTTP and HTTPS
  • you can set the number of parallel to download
  • download batches of files concurrently
  • resume incomplete downloads

Requires

Go v1.6+

Example

$ fdlr download -c=3 https://download.jetbrains.com/go/goland-2020年2月2日.dmg
Downloading IP is: 52.50.241.213 | 54.72.98.183
Start downloading with 3 connections 
Download target size: 398.9 MB
goland-2020年2月2日.dmg - 0 1.73 MiB / 132.97 MiB 1.30% 04m41s 
goland-2020年2月2日.dmg - 1 732.32 KiB / 132.97 MiB 0.54% 11m27s 
goland-2020年2月2日.dmg - 2 1005.57 KiB / 132.97 MiB 0.74% 08m19s 
Interrupted, saving state ... 
Saving states data in /Users/xxx/.fdlr/goland-2020年2月2日.dmg
$ fdlr resume https://download.jetbrains.com/go/goland-2020年2月2日.dmg
Reading state from /Users/xxx/.fdlr/goland-2020年2月2日.dmg/state.yaml
goland-2020年2月2日.dmg - 0 510.94 KiB / 131.23 MiB 0.38% 19m58s 
goland-2020年2月2日.dmg - 1 489.65 KiB / 131.98 MiB 0.36% 20m57s 
goland-2020年2月2日.dmg - 2 1.20 MiB / 132.25 MiB 0.91% 08m19s

Inspired

About

A downloader written by Golang

Resources

License

Stars

Watchers

Forks

Packages

Contributors

Languages

  • Go 94.4%
  • Makefile 5.6%

AltStyle によって変換されたページ (->オリジナル) /