Como ativar o RPC no gerenciador de downloads aria2c?

0

Eu quero ativar o RPC no gerenciador de downloads aria2c , para que eu possa pausar e retomar os downloads da linha de comando. Quando eu corro

aria2c --rpc-listen-port=6800 http://torrage.com/torrent/9C76DCCEB643D27D6ADC9253C713407D5F2AE3AF.torrent

um erro é exibido ...

unrecognized option '--rpc-listen-port=6800'
Exception: [OptionParser.cc:149] Failed to parse command-line options.

Usage: aria2c [OPTIONS] [URI | MAGNET | TORRENT_FILE | METALINK_FILE]...

Printing options tagged with '#help'.

See -h option to know other command-line options(#basic, #advanced, #http, #https, #ftp, #metalink, #bittorrent, #cookie, #hook, #file, #xml-rpc, #experimental, #help, #all).
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, #xml-rpc, #experimental, #help, #all
                              Default: #basic
                              Tags: #basic,#help

Refer to man page for more information.

O que há de errado?

Consulte: link

    
por totti 22.03.2013 / 11:08

1 resposta

0

Como aria diz opção não reconhecida , seu aria talvez seja muito antigo e não suporta JSON-RPC ou RPC. Veja man page digitando man aria2c e procure por rpc . Em algumas versões antigas, o xml RPC está disponível, mas recursos avançados como pause & amp; currículo * adicionar arquivo * não estará disponível.
 Experimente aria2c --enable-xml-rpc=true para xml rpc . Para recursos ativados: aria2c -v

    
por Prinz 25.03.2013 / 09:41