Overfill3641
V2EX  ›  问与答

Aria2 怎么加载配置?

  •  
  •   Overfill3641 · Mar 14, 2021 · 1204 views
    This topic created in 1912 days ago, the information mentioned may be changed or developed.
    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 replies    2021-03-14 20:04:27 +08:00
    loli
        1
    loli  
       Mar 14, 2021
    Configuration file C:\Aria2\aria2.conf is not found.

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

    看你这是同级目录可以试试
    aria2c --conf-path=aria2.conf
    Overfill3641
        2
    Overfill3641  
    OP
       Mar 14, 2021
    @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),你试试。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2828 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 15:17 · PVG 23:17 · LAX 08:17 · JFK 11:17
    ♥ Do have faith in what you're doing.