From 2cd638027d7e940263091e63e9fd0d467ad0bec1 Mon Sep 17 00:00:00 2001 From: DreamPiggy Date: Thu, 31 Dec 2015 05:26:37 +0800 Subject: [PATCH 1/3] add aria2c aria2c: add --- pages/common/aria2c.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/common/aria2c.md diff --git a/pages/common/aria2c.md b/pages/common/aria2c.md new file mode 100644 index 0000000000..4c6535d182 --- /dev/null +++ b/pages/common/aria2c.md @@ -0,0 +1,28 @@ +# aria2c + +> Fast download utility +> Supports HTTP(S), FTP, SFTP, BitTorrent, and Metalink + +- Download a URI(include Metalink) to a file + +`aria2c {{url}}` + +- Download from multiple sources + +`aria2c {{url_1}} {{url_2}}` + +- Download the URIs listed in a file (one line one URI) + +`aria2c -i {{filename}}` + +- Download with multiple connections + +`aria2c -s {{connections_num}} {{url}}` + +- Limit download speed + +`aria2c --max-download-limit {{200K}} {{url}}` + +- FTP download with username and password + +`aria2c --ftp-user={{username}} --ftp-passwd={{password}} {{url}}` From 5ae1cf61673dd773fe02f2c5ccd624a042c991b6 Mon Sep 17 00:00:00 2001 From: Ruben Vereecken Date: Thu, 21 Jan 2016 12:45:07 +0100 Subject: [PATCH 2/3] aria2c: Removed unneeded example and reworded --- pages/common/aria2c.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/pages/common/aria2c.md b/pages/common/aria2c.md index 4c6535d182..ccf8acd61b 100644 --- a/pages/common/aria2c.md +++ b/pages/common/aria2c.md @@ -3,7 +3,7 @@ > Fast download utility > Supports HTTP(S), FTP, SFTP, BitTorrent, and Metalink -- Download a URI(include Metalink) to a file +- Download a URI to a file `aria2c {{url}}` @@ -11,7 +11,7 @@ `aria2c {{url_1}} {{url_2}}` -- Download the URIs listed in a file (one line one URI) +- Download the URIs listed in a file `aria2c -i {{filename}}` @@ -19,10 +19,6 @@ `aria2c -s {{connections_num}} {{url}}` -- Limit download speed - -`aria2c --max-download-limit {{200K}} {{url}}` - - FTP download with username and password `aria2c --ftp-user={{username}} --ftp-passwd={{password}} {{url}}` From b470ee397b1c75652801c04a3ef3702be2987215 Mon Sep 17 00:00:00 2001 From: Ruben Vereecken Date: Thu, 21 Jan 2016 12:45:39 +0100 Subject: [PATCH 3/3] Formatted aria2c --- pages/common/aria2c.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pages/common/aria2c.md b/pages/common/aria2c.md index ccf8acd61b..66aefe452d 100644 --- a/pages/common/aria2c.md +++ b/pages/common/aria2c.md @@ -1,24 +1,24 @@ # aria2c -> Fast download utility -> Supports HTTP(S), FTP, SFTP, BitTorrent, and Metalink +> Fast download utility. +> Supports HTTP(S), FTP, SFTP, BitTorrent, and Metalink. -- Download a URI to a file +- Download a URI to a file: `aria2c {{url}}` -- Download from multiple sources +- Download from multiple sources: `aria2c {{url_1}} {{url_2}}` -- Download the URIs listed in a file +- Download the URIs listed in a file: `aria2c -i {{filename}}` -- Download with multiple connections +- Download with multiple connections: `aria2c -s {{connections_num}} {{url}}` -- FTP download with username and password +- FTP download with username and password: `aria2c --ftp-user={{username}} --ftp-passwd={{password}} {{url}}`