Aria2 for Mac

aria2 is a lightweight multi-protocol & multi-source command-line download utility.

It supports HTTP/HTTPS,FTP,SFTP,BitTorrent and Metalink. aria2 can be manipulated via built-in JSON-RPC and XML-RPC interfaces.

Introduce:aria2

Download:aria2

GitHub:aria2

 

Frist:

Download and Install aria2

Second:

1.Terminal input

mkdir ~/.aria2

or Create a folder at /Users/xxxx/

2.copy aria2.conf and run_aria2 to /Users/xxxx/.aria2

copy com.aria2c.plist to /Users/xxx/Library/LaunchAgents

3.config aria2.conf

For more information:

Config explain:

https://aria2.github.io/manual/en/html/aria2c.html

http://aria2c.com/usage.html

Example:

#允许rpc
enable-rpc=true
#允许非外部访问
rpc-listen-all=true
#RPC端口, 仅当默认端口被占用时修改
rpc-listen-port=6800

#最大同时下载数(任务数), 路由建议值: 3
max-concurrent-downloads=3
#断点续传
continue=true
#同服务器连接数
max-connection-per-server=10
#最小文件分片大小, 下载线程数上限取决于能分出多少片, 对于小文件重要
min-split-size=10M
#单文件最大线程数, 路由建议值: 5
split=10
#下载速度限制
max-overall-download-limit=0
#单文件速度限制
max-download-limit=0
#上传速度限制
max-overall-upload-limit=0
#单文件速度限制
max-upload-limit=0

#文件保存路径, 默认为当前启动位置,请自行修改目录
dir=/Users/xxx/Downloads
Example

4.config run_aria2.sh(Run aria2)

nohup aria2c --conf-path=/Users/xxx/.aria2/aria2.conf  &

config com.aria2c.plist(AutoRun at login)

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Label</key>
    <string>com.aria2c</string>
    <key>ProgramArguments</key>
    <array>
        <string>/Users/xxx/.aria2/run_aria2.sh</string>
    </array>
    <key>RunAtLoad</key>
    <true/>
    <key>KeepAlive</key>
    <true/>
</dict>
</plist>

replace xxx to youself name

Reference:

Mac下使用Aria2下载教程----迅雷和百度盘终极解决方案(可突破百度盘限速)

如何利用aria2断点续传百度网盘

Mac 上使用百度网盘很烦躁?花点时间配置 aria2 吧

UI Tools:

Aria2GUI

Aria2 WebUI

YAAW

All File:aria2.rar

你可能感兴趣的:(Aria2 for Mac)