V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
v2tudnew
V2EX  ›  问与答

Aria2 怎么加载配置?

  •  
  •   v2tudnew · 2021-03-14 18:15:41 +08:00 · 726 次点击
    这是一个创建于 1164 天前的主题,其中的信息可能已经有所发展或是发生改变。
    C:\Aria2>aria2c --conf-path=C:\Aria2\aria2.conf

    Configuration file C:\Aria2\aria2.conf is not found.
    Usage: aria2c [OPTIONS] [URI | MAGNET | TORRENT_FILE | METALINK_FILE]...
    Printing options tagged with '#help'.
    See 'aria2c -h#help' to know all available tags.
    Options:
    -h, --help[=TAG|KEYWORD] Print usage and exit.
    The help messages are classified with tags. A tag
    starts with "#". For example, type "--help=#http"
    to get the usage for the options tagged with
    "#http". If non-tag word is given, print the usage
    for the options whose name includes that word.

    Possible Values: #basic, #advanced, #http, #https, #ftp, #metalink, #bittorrent, #cookie, #hook, #file, #rpc, #checksum, #experimental, #deprecated, #help, #all
    Default: #basic
    Tags: #basic, #help

    Refer to man page for more information.

    --conf-path= 完全无效
    2 条回复    2021-03-14 20:04:27 +08:00
    loli
        1
    loli  
       2021-03-14 19:50:43 +08:00
    Configuration file C:\Aria2\aria2.conf is not found.

    文件没找到,具体是路径得加引号还是啥得具体分析(一个可能是权限,尽量不要放这个目录)

    看你这是同级目录可以试试
    aria2c --conf-path=aria2.conf
    v2tudnew
        2
    v2tudnew  
    OP
       2021-03-14 20:04:27 +08:00
    @loli 没用,目录换了个、aria2c --conf-path=aria2.conf,也是这样。
    虚拟机都不行,[下的这个]( https://github.com/aria2/aria2/releases/download/release-1.35.0/aria2-1.35.0-win-64bit-build1.zip),你试试。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1632 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 17:00 · PVG 01:00 · LAX 10:00 · JFK 13:00
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.