{"id":5904,"date":"2022-12-20T18:57:42","date_gmt":"2022-12-20T21:57:42","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/aria2c-pt\/"},"modified":"2022-12-20T18:57:42","modified_gmt":"2022-12-20T21:57:42","slug":"aria2c-pt","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/aria2c-pt\/","title":{"rendered":"ARIA2C (pt)"},"content":{"rendered":"<h1 align=\"center\">ARIA2C<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SINOPSE\">SINOPSE<\/a><br \/> <a href=\"#DESCRI\u00c3\u00c3O\">DESCRI\u00c3\u00c3O<\/a><br \/> <a href=\"#OP\u00c3\u00c3ES B\u00c3SICAS DO ARIA2\">OP\u00c3\u00c3ES B\u00c3SICAS DO ARIA2<\/a><br \/> <a href=\"#C\u00c3DIGO DE RETORNO OU SA\u00c3DA\">C\u00c3DIGO DE RETORNO OU SA\u00c3DA<\/a><br \/> <a href=\"#VARI\u00c3VEIS DE AMBIENTE\">VARI\u00c3VEIS DE AMBIENTE<\/a><br \/> <a href=\"#ARQUIVOS DE CONFIGURA\u00c3\u00c3O\">ARQUIVOS DE CONFIGURA\u00c3\u00c3O<\/a><br \/> <a href=\"#INTERFACE RPC\">INTERFACE RPC<\/a><br \/> <a href=\"#DIVERSOS\">DIVERSOS<\/a><br \/> <a href=\"#EXEMPLOS DOWNLOAD HTTP \/ FTP\">EXEMPLOS DOWNLOAD HTTP \/ FTP<\/a><br \/> <a href=\"#VER TAMB\u00c3M\">VER TAMB\u00c3M<\/a><br \/> <a href=\"#COPYRIGHT\">COPYRIGHT<\/a><br \/> <a href=\"#COPYRIGHT\">COPYRIGHT<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">aria2c \u2212 Utilit\u00c3\u00a1rio para download super ultra r\u00c3\u00a1pido<\/p>\n<h2>SINOPSE <a name=\"SINOPSE\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>aria2c<\/b> [<OP\u00c3\u00c3ES>] [<URI>|<MAGNET>|<ARQUIVO_TORRENT>|<ARQUIVO_METALINK>] &#8230;<\/p>\n<h2>DESCRI\u00c3\u00c3O <a name=\"DESCRI\u00c3\u00c3O\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>AVISO:<\/b><\/p>\n<p style=\"margin-left:15%;\">This translation has been outdated quite sometime now, and lacks many recent changes. Please consult English version manual for updated information.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Observa\u00c3\u00a7\u00c3\u00a3o: Para executar o aria2 em um terminal ou no prompt da linha de comando do windows, utilize o comando aria2c.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">aria2 \u00c3\u00a9 um utilit\u00c3\u00a1rio para download de arquivos. Os protocolos suportados s\u00c3\u00a3o HTTP, HTTPS, FTP, BitTorrent e Metalink. aria2 pode efetuar download de arquivos a partir de m\u00c3\u00baltiplas fontes e protocolos e tenta utilizar a m\u00c3\u00a1xima capacidade de banda. H\u00c3\u00a1 suporte para download de arquivos que tem origem em HTTP, HTTPS, FTP, BitTorrent e Metalink ao mesmo tempo, enquanto os dados baixados podem ser (uploaded) e compartilhados pelo BitTorrent. Usando confer\u00c3\u00aancia \/ aferi\u00c3\u00a7\u00c3\u00a3o (checksum) nos Metalinks, aria2 automaticamente valida o conte\u00c3\u00bado dos dados enquanto faz o download do arquivo como BitTorrent.<\/p>\n<h2>OP\u00c3\u00c3ES B\u00c3SICAS DO ARIA2 <a name=\"OP\u00c3\u00c3ES B\u00c3SICAS DO ARIA2\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Op\u00c3\u00a7\u00c3\u00b5es Comuns <br \/> \u2212d, \u2212\u2212dir=<DIR><\/b><\/p>\n<p style=\"margin-left:22%;\">O diret\u00c3\u00b3rio onde ser\u00c3\u00a1 armazenado o arquivo baixado.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212i, \u2212\u2212input\u2212file=<ARQUIVO><\/b><\/p>\n<p style=\"margin-left:22%;\">Executa download da(s) URI encontradas no ARQUIVO. Podem ser especificados m\u00c3\u00baltiplos URI para uma simples entidade: separe URI na mesma linha com um caracter TAB (tabula\u00c3\u00a7\u00c3\u00a3o). Quando desejar ler a entrada padr\u00c3\u00a3o (stdin) especificar <b>\u2212<\/b> (h\u00c3fen). Adicionalmente, diversas op\u00c3\u00a7\u00c3\u00b5es podem ser especificadas ap\u00c3\u00b3s cada linha de URI. Esta(s) linha(s) opcional(is) deve(m) come\u00c3\u00a7ar(em) com um ou mais espa\u00c3\u00a7os em branco e possuir(em) apenas uma op\u00c3\u00a7\u00c3\u00a3o por linha. Ver subse\u00c3\u00a7\u00c3\u00a3o <i>Arquivo de Entrada<\/i> para mais detalhes. Ver tamb\u00c3\u00a9m op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212deferred\u2212input<\/i>.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212l, \u2212\u2212log=<LOG><\/b><\/p>\n<p style=\"margin-left:22%;\">O nome do arquivo de log. Se <b>\u2212<\/b> for especificado (entrada padr\u00c3\u00a3o), log \u00c3\u00a9 gravado em stdout (sa\u00c3da padr\u00c3\u00a3o). Se uma string vazia(&#8220;&#8221;) \u00c3\u00a9 especificada, log n\u00c3\u00a3o ser\u00c3\u00a1 gravado em arquivo.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212j, \u2212\u2212max\u2212concurrent\u2212downloads=<N><\/b><\/p>\n<p style=\"margin-left:22%;\">Configura o n\u00c3\u00bamero m\u00c3\u00a1ximo de downloads paralelos para cada URI (HTTP, HTTPS, FTP), Torrent e Metalink. Ver tamb\u00c3\u00a9m op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212split<\/i>. Padr\u00c3\u00a3o: <b>5<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212V, \u2212\u2212check\u2212integrity [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Verifica a integridade do arquivo validando peda\u00c3\u00a7os hashes ou um hash do arquivo inteiro. Essa op\u00c3\u00a7\u00c3\u00a3o tem efeito s\u00c3\u00b3 em downloads BitTorrent, Metalink com checksums ou HTTP, HTTPS e FTP com a op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212checksum<\/i>. Se peda\u00c3\u00a7os de hashes s\u00c3\u00a3o providos, essa op\u00c3\u00a7\u00c3\u00a3o pode detectar por\u00c3\u00a7\u00c3\u00b5es danificadas de um arquivo e efetuar novamente o download desses peda\u00c3\u00a7os. Se especificar hash do arquivo inteiro, a verifica\u00c3\u00a7\u00c3\u00a3o do hash ocorrer\u00c3\u00a1 s\u00c3\u00b3 ao final do download, valida\u00c3\u00a7\u00c3\u00a3o que leva em conta o tamanho do arquivo, e o download reinicir\u00c3\u00a1 a partir do in\u00c3cio. Se houver especifica\u00c3\u00a7\u00c3\u00a3o de ambos m\u00c3\u00a9todos de hash ser\u00c3\u00a1 utilizado o hash de peda\u00c3\u00a7\u00c3\u00b5es. Padr\u00c3\u00a3o: <b>false<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212c, \u2212\u2212continue [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Continua o download a partir de um download parcial, anteriormente interrompido. Use esta op\u00c3\u00a7\u00c3\u00a3o para retormar um download iniciado a partir de um browser (navegador) ou outro programa que faz baixa de arquivos sequencialmente desde o in\u00c3- cio. Atualmente esta op\u00c3\u00a7\u00c3\u00a3o s\u00c3\u00b3 \u00c3\u00a9 aplicavel a download de HTTP, HTTPS e FTP.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212h, \u2212\u2212help[=<T\u00c3PICO>|<PALAVRA\u2212CHAVE>]<\/b><\/p>\n<p style=\"margin-left:22%;\">As mensagens de Ajuda s\u00c3\u00a3o classificadas em temas. Um tema se inicia com <b>#<\/b>. Por exemplo, digitar <b>\u2212\u2212help=#http<\/b> para obter a explica\u00c3\u00a7\u00c3\u00a3o do uso das op\u00c3\u00a7\u00c3\u00b5es do tema <b>#http<\/b>. Se digitar um termo que n\u00c3\u00a3o \u00c3\u00a9 tema, haver\u00c3\u00a1 exibi\u00c3\u00a7\u00c3\u00a3o das op\u00c3\u00a7\u00c3\u00b5es que incluem o termo informado. Valores dispon\u00c3veis para temas podem ser: <b>#basic<\/b>, <b>#advanced<\/b>, <b>#http<\/b>, <b>#https<\/b>, <b>#ftp<\/b>, <b>#metalink<\/b>, <b>#bittorrent<\/b>, <b>#cookie<\/b>, <b>#hook<\/b>, <b>#file<\/b>, <b>#rpc<\/b>, <b>#checksum<\/b>, <b>#experimental<\/b>, <b>#deprecated<\/b>, <b>#help<\/b>, <b>#all<\/b> Padr\u00c3\u00a3o: <b>#basic<\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Op\u00c3\u00a7\u00c3\u00b5es HTTP \/ FTP <br \/> \u2212\u2212all\u2212proxy=<PROXY><\/b><\/p>\n<p style=\"margin-left:22%;\">Usar este servidor proxy para todos protocolos. Para limpar proxy previamente definido, use &#8220;&#8221;. Esta configura\u00c3\u00a7\u00c3\u00a3o pode ser sobreposta atrav\u00c3\u00a9s da especifica\u00c3\u00a7\u00c3\u00a3o de um servidor proxy para um determinado protocolo usando op\u00c3\u00a7\u00c3\u00b5es <i>\u2212\u2212http\u2212proxy<\/i>, <i>\u2212\u2212https\u2212proxy<\/i> e <i>\u2212\u2212ftp\u2212proxy<\/i>. Isto afeta todas as URIs. O formato da op\u00c3\u00a7\u00c3\u00a3o PROXY \u00c3\u00a9 <b>[http:\/\/][USU\u00c3RIO:SENHA@]SERVIDOR[:PORTA]<\/b>. Ver tamb\u00c3\u00a9m se\u00c3\u00a7\u00c3\u00a3o <i>VARI\u00c3VEIS DE AMBIENTE<\/i> section.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>NOTA:<\/b><\/p>\n<p style=\"margin-left:26%;\">Se usu\u00c3\u00a1rio e senha s\u00c3\u00a3o embutidos na URI do proxy eles tamb\u00c3\u00a9m podem ser especificados atrav\u00c3\u00a9s das op\u00c3\u00a7\u00c3\u00b5es <i>\u2212\u2212{http,https,ftp,all}\u2212proxy\u2212{usu\u00c3\u00a1rio,senha}<\/i>, aqueles que aparecerem por \u00c3\u00baltimo assumem a preced\u00c3\u00aancia. Por exemplo, quando temos: <b>http\u2212proxy\u2212user=meunome<\/b>, <b>http\u2212proxy\u2212passwd=minhasenha<\/b> em aria2.conf e especificamos <b>\u2212\u2212http\u2212proxy=&#8221;http:\/\/svrproxy&#8221;<\/b> na linha de comando, ent\u00c3\u00a3o obtemos como proxy HTTP <b>http:\/\/svrproxy<\/b> com o usu\u00c3\u00a1rio <b>meunome<\/b> e senha <b>minhasenha<\/b>.<\/p>\n<p style=\"margin-left:26%; margin-top: 1em\">Outro exemplo: quando especificamos na linha de comando: <b>\u2212\u2212http\u2212proxy=&#8221;http:\/\/usu\u00c3\u00a1rio:senha@svrproxy&#8221; \u2212\u2212http\u2212proxy\u2212user=&#8221;meunome&#8221; \u2212\u2212http\u2212proxy\u2212passwd=&#8221;minhasenha&#8221;<\/b>, ent\u00c3\u00a3o obtemos proxy HTTP <b>http:\/\/svrproxy<\/b> com usu\u00c3\u00a1rio <b>meunome<\/b> e senha <b>minhasenha<\/b>.<\/p>\n<p style=\"margin-left:26%; margin-top: 1em\">Mais um exemplo: se especificamos na linha de comando: <b>\u2212\u2212http\u2212proxy\u2212user=&#8221;meunome&#8221; \u2212\u2212http\u2212proxy\u2212passwd=&#8221;minhasenha&#8221; \u2212\u2212http\u2212proxy=&#8221;http:\/\/utilizador:acesso@svrproxy&#8221;<\/b>, ent\u00c3\u00a3o obtemos o proxy HTTP <b>http:\/\/svrproxy<\/b> com o usu\u00c3\u00a1rio <b>utilizador<\/b> e a senha <b>acesso<\/b>.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212all\u2212proxy\u2212passwd=<SENHA><\/b><\/p>\n<p style=\"margin-left:22%;\">Define senha para a op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212all\u2212proxy<\/i>.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212all\u2212proxy\u2212user=<USU\u00c3RIO><\/b><\/p>\n<p style=\"margin-left:22%;\">Define usu\u00c3\u00a1rio para op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212all\u2212proxy<\/i>.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212checksum=<TIPO>=<ALGORITMO><\/b><\/p>\n<p style=\"margin-left:22%;\">Define verifica\u00c3\u00a7\u00c3\u00a3o (checksum). TIPO \u00c3\u00a9 o tipo de algoritmo(hash). Os tipos de algoritmos est\u00c3\u00a3o listados em <b>Algoritmos de Hash<\/b> e podem ser obtidos atrav\u00c3\u00a9s do do comando <b>aria2c \u2212v<\/b>. DIGEST \u00c3\u00a9 o c\u00c3\u00b3digo hexadecimal. Por examplo, definindo sha\u22121 o resultado parece com: <b>sha\u22121=0192ba11326fe2298c8cb4de616f4d4140213838<\/b> Essa op\u00c3\u00a7\u00c3\u00a3o aplica\u2212se apenas para downloads HTTP, HTTPS e FTP.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212connect\u2212timeout=<SEGUNDOS><\/b><\/p>\n<p style=\"margin-left:22%;\">Define o tempo de espera em segundos para estabelecer a conex\u00c3\u00a3o com o servidor proxy. Ap\u00c3\u00b3s o estabelecimento da conex\u00c3\u00a3o, esta op\u00c3\u00a7\u00c3\u00a3o n\u00c3\u00a3o tem mais efeito, mas a op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212timeout<\/i> ser\u00c3\u00a1 utilizada. Padr\u00c3\u00a3o: <b>60<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212dry\u2212run [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Se <b>true<\/b> \u00c3\u00a9 informado, aria2 apenas verifica se o arquivo remoto est\u00c3\u00a1 dispon\u00c3vel para download dos dados. Esta op\u00c3\u00a7\u00c3\u00a3o tem efeito em downloads de servidores HTTP, HTTPS e FTP. Downloads de BitTorrent ser\u00c3\u00a3o cancelados se for especificado <b>true<\/b>. Padr\u00c3\u00a3o: <b>false<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212lowest\u2212speed\u2212limit=<VELOCIDADE><\/b><\/p>\n<p style=\"margin-left:22%;\">Fecha a conex\u00c3\u00a3o se a velocidade de download \u00c3\u00a9 menor ou igual ao valor especificado, bytes por segundo. <b>0<\/b> significa que aria2 n\u00c3\u00a3o levar\u00c3\u00a1 em conta limite de velocidade m\u00c3nima. Pode ser anexado <b>K<\/b> ou <b>M<\/b> (1K = 1024, 1M = 1024K). Esta op\u00c3\u00a7\u00c3\u00a3o n\u00c3\u00a3o abrange downloads do tipo BitTorrent. Padr\u00c3\u00a3o: <b>0<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212x, \u2212\u2212max\u2212connection\u2212per\u2212server=<N\u00c3MERO><\/b><\/p>\n<p style=\"margin-left:22%;\">O n\u00c3\u00bamero m\u00c3\u00a1ximo de conex\u00c3\u00b5es para um servidor em cada download. Padr\u00c3\u00a3o: <b>1<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212max\u2212file\u2212not\u2212found=<N\u00c3MERO><\/b><\/p>\n<p style=\"margin-left:22%;\">Se aria2 recebe \u00c3\u00a7\u00c3\u00b3digo de retorno &#8220;arquivo n\u00c3\u00a3o encontrado&#8221; de um servidor remoto de HTTP \/ FTP um N\u00c3MERO de vezes sem obter nenhum byte, ent\u00c3\u00a3o o download \u00c3\u00a9 for\u00c3\u00a7ado a falhar. Especificar <b>0<\/b> para desabilitar esta op\u00c3\u00a7\u00c3\u00a3o. Esta op\u00c3\u00a7\u00c3\u00a3o s\u00c3\u00b3 \u00c3\u00a9 v\u00c3\u00a1lida para servidores HTTP \/ FTP. Padr\u00c3\u00a3o: <b>0<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212m, \u2212\u2212max\u2212tries=<N\u00c3MERO><\/b><\/p>\n<p style=\"margin-left:22%;\">Define o n\u00c3\u00bamero de tentativas. <b>0<\/b> significa ilimitadas. See also <i>\u2212\u2212retry\u2212wait<\/i>. Padr\u00c3\u00a3o: <b>5<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212k, \u2212\u2212min\u2212split\u2212size=<TAMANHO><\/b><\/p>\n<p style=\"margin-left:22%;\">aria2 n\u00c3\u00a3o divide menos que 2 bodies manpages.csv script_extrae_body.sh script.sh usr TAMANHO o intervalo de bytes. Por exemplo, considere download de um arquivo de 20MiB. Se o TAMANHO \u00c3\u00a9 10M, aria2 pode dividir o arquivo em 2 intervalos de [0\u221210MiB) e [10MiB\u221220MiB) e executar o download usando 2 fontes (logicamente se a op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212split<\/i> >= 2). Se o TAMANHO \u00c3\u00a9 15M, desde que 2 bodies manpages.csv script_extrae_body.sh script.sh usr 15M > 20Mib, aria2 n\u00c3\u00a3o dividir\u00c3\u00a1 o arquivo e far\u00c3\u00a1 o download de 1 fonte. Pde ser anexado <b>K<\/b> ou <b>M<\/b> (1K = 1024, 1M = 1024K). Valores Poss\u00c3veis: <b>1M<\/b> \u2212<b>1024M<\/b> Padr\u00c3\u00a3o: <b>20M<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212n, \u2212\u2212no\u2212netrc [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Desabilita suporte netrc. Padr\u00c3\u00a3o: Suporte a netrc \u00c3\u00a9 habilitado por padr\u00c3\u00a3o.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>NOTA:<\/b><\/p>\n<p style=\"margin-left:26%;\">arquivo netrc \u00c3\u00a9 lido somente no in\u00c3cio se a op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212no\u2212netrc<\/i> \u00c3\u00a9 <b>false<\/b>. Portanto se a op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212no\u2212netrc<\/i> \u00c3\u00a9 <b>true<\/b> no in\u00c3cio, n\u00c3\u00a3o haver\u00c3\u00a1 netrc dispon\u00c3vel durante toda a sess\u00c3\u00a3o, mesmo que seja utilizada a op\u00c3\u00a7\u00c3\u00a3o <i>aria2.changeGlobalOption()<\/i> para executar a op\u00c3\u00a7\u00c3\u00a3o :option: <i>\u2212\u2212no\u2212netrc=false <\u2212n><\/i>.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212no\u2212proxy=<DOM\u00c3NIOS><\/b><\/p>\n<p style=\"margin-left:22%;\">Especifica nomes de servidores, dom\u00c3nios e endere\u00c3\u00a7os de redes com ou sem blocos CIDR para os quais n\u00c3\u00a3o ser\u00c3\u00a3o utilizados proxy.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>NOTA:<\/b><\/p>\n<p style=\"margin-left:26%;\">Para endere\u00c3\u00a7o de rede com blocos CIDR, ambos endere\u00c3\u00a7os IPv4 ou IPv6 funcionam. Implementa\u00c3\u00a7\u00c3\u00a3o atual, n\u00c3\u00a3o resolve nome host em URI para comparar com endere\u00c3\u00a7o especificado na op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212no\u2212proxy<\/i>. Portanto s\u00c3\u00b3 ser\u00c3\u00a1 efetiva se a URI possuir n\u00c3\u00bameros de endere\u00c3\u00a7o IP.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212o, \u2212\u2212out=<ARQUIVO><\/b><\/p>\n<p style=\"margin-left:22%;\">O nome do arquivo baixado. Quando a op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212force\u2212sequential<\/i> \u00c3\u00a9 utilizada esta op\u00c3\u00a7\u00c3\u00a3o ser\u00c3\u00a1 ignorada.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>NOTA:<\/b><\/p>\n<p style=\"margin-left:26%;\">Em um download Metalink ou BitTorrent n\u00c3\u00a3o poder\u00c3\u00a1 ser especificado o nome do arquivo. O nome do arquivo especificado aqui \u00c3\u00a9 usado quando atrav\u00c3\u00a9s da linha de comando \u00c3\u00a9 informada para o aria2 sem a utiliza\u00c3\u00a7\u00c3\u00a3o da op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212input\u2212file<\/i>, <i>\u2212\u2212force\u2212sequential<\/i>. Por exemplo:<\/p>\n<pre style=\"margin-left:32%; margin-top: 1em\">$ aria2c \u2212o meuarquivo.zip \"http:\/\/server1\/arquivo.zip\" \"http:\/\/server2\/arquivo.zip\"<\/pre>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212proxy\u2212method=<M\u00c3TODO><\/b><\/p>\n<p style=\"margin-left:22%;\">Define o m\u00c3\u00a9todo utilizado para requisi\u00c3\u00a7\u00c3\u00b5es de proxy. M\u00c3TODO \u00c3\u00a9 <b>get<\/b> ou <b>tunnel<\/b>. Downloads HTTPS sempre utiliza <b>tunnel<\/b>, independentemente desta op\u00c3\u00a7\u00c3\u00a3o. Padr\u00c3\u00a3o: <b>get<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212R, \u2212\u2212remote\u2212time [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Recuperar timestamp do arquivo remoto a partir do servidor remoto HTTP \/ FTP e se dispon\u00c3vel, aplic\u00c3\u00a1\u2212lo ao arquivo local. Padr\u00c3\u00a3o: <b>false<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212reuse\u2212uri [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Reutilizar uma URI j\u00c3\u00a1 utilizada. Se n\u00c3\u00a3o habilitada as URIs j\u00c3\u00a1 utilizadas ser\u00c3\u00a3o abandonadas. Padr\u00c3\u00a3o: <b>true<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212retry\u2212wait=<SEGUNDOS><\/b><\/p>\n<p style=\"margin-left:22%;\">Define quantos segundos haver\u00c3\u00a1 entre as tentativas. Com SEGUNDOS > 0, aria2 ir\u00c3\u00a1 tentar\u00c3\u00a1 fazer o download quando o servidor HTTP retornar c\u00c3\u00b3digo resposta 503. Padr\u00c3\u00a3o: <b>0<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212server\u2212stat\u2212of=<ARQUIVO><\/b><\/p>\n<p style=\"margin-left:22%;\">Define o nome do arquivo no qual ser\u00c3\u00a1 salvo o perfil de performance de um ou mais servidores acessados. Para carregar dados j\u00c3\u00a1 salvos utilizar op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212server\u2212stat\u2212if<\/i>. Ver subse\u00c3\u00a7\u00c3\u00a3o <i>Perfil Performance Servidor<\/i> abaixo, para o formato do arquivo.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212server\u2212stat\u2212if=<ARQUIVO><\/b><\/p>\n<p style=\"margin-left:22%;\">Specify the filename to load performance profile of the servers. The loaded data will be used in some URI selector such as <b>feedback<\/b>. See also <i>\u2212\u2212uri\u2212selector<\/i> option. See <i>Perfil Performance Servidor<\/i> subsection below for file format.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212server\u2212stat\u2212timeout=<SEGUNDOS><\/b><\/p>\n<p style=\"margin-left:22%;\">Specifies timeout in seconds to invalidate performance profile of the servers since the last contact to them. Padr\u00c3\u00a3o: <b>86400<\/b> (24hours)<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212s, \u2212\u2212split=<N><\/b><\/p>\n<p style=\"margin-left:22%;\">Download a file using N connections. If more than N URIs are given, first N URIs are used and remaining URIs are used for backup. If less than N URIs are given, those URIs are used more than once so that N connections total are made simultaneously. The number of connections to the same host is restricted by <i>\u2212\u2212max\u2212connection\u2212per\u2212server<\/i> option. See also <i>\u2212\u2212min\u2212split\u2212size<\/i> option. Padr\u00c3\u00a3o: <b>5<\/b><\/p>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>NOTA:<\/b><\/p>\n<p style=\"margin-left:26%;\">Some Metalinks regulate the number of servers to connect. aria2 strictly respects them. This means that if Metalink defines the maxconnections attribute lower than N, then aria2 uses the value of maxconnections attribute instead of N.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212stream\u2212piece\u2212selector=<SELECTOR><\/b><\/p>\n<p style=\"margin-left:22%;\">Specify piece selection algorithm used in HTTP e FTP download. Piece means fixed length segment which is downloaded in parallel in segmented download. If <b>default<\/b> is given, aria2 selects piece so that it reduces the number of establishing connection. This is reasonable default behaviour because establishing connection is an expensive operation. If <b>inorder<\/b> is given, aria2 selects piece which has minimum index. Index=0 means first of the file. This will be useful to view movie while downloading it. <i>\u2212\u2212enable\u2212http\u2212pipelining<\/i> option may be useful to reduce reconnection overhead. Please note that aria2 honors <i>\u2212\u2212min\u2212split\u2212size<\/i> option, so it will be necessary to specify a reasonable value to <i>\u2212\u2212min\u2212split\u2212size<\/i> option. If <b>geom<\/b> is given, at the beginning aria2 selects piece which has minimum index like <b>inorder<\/b>, but it exponentially increasingly keeps space from previously selected piece. This will reduce the number of establishing connection and at the same time it will download the beginning part of the file first. This will be useful to view movie while downloading it. Padr\u00c3\u00a3o: <b>default<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212t, \u2212\u2212timeout=<SEGUNDOS><\/b><\/p>\n<p style=\"margin-left:22%;\">Set timeout in seconds. Padr\u00c3\u00a3o: <b>60<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212uri\u2212selector=<SELECTOR><\/b><\/p>\n<p style=\"margin-left:22%;\">Specify URI selection algorithm. The possible values are <b>inorder<\/b>, <b>feedback<\/b> and <b>adaptive<\/b>. If <b>inorder<\/b> is given, URI is tried in the order appeared in the URI list. If <b>feedback<\/b> is given, aria2 uses download speed observed in the previous downloads and choose fastest server in the URI list. This also effectively skips dead mirrors. The observed download speed is a part of performance profile of servers mentioned in <i>\u2212\u2212server\u2212stat\u2212of<\/i> and <i>\u2212\u2212server\u2212stat\u2212if<\/i> options. If <b>adaptive<\/b> is given, selects one of the best mirrors for the first and reserved connections. For supplementary ones, it returns mirrors which has not been tested yet, and if each of them has already been tested, returns mirrors which has to be tested again. Otherwise, it doesn&#8217;t select anymore mirrors. Like <b>feedback<\/b>, it uses a performance profile of servers. Padr\u00c3\u00a3o: <b>feedback<\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Op\u00c3\u00a7\u00c3\u00b5es Espec\u00c3ficas de HTTP e HTTPS <br \/> \u2212\u2212ca\u2212certificate=<ARQUIVO><\/b><\/p>\n<p style=\"margin-left:22%;\">Utilizar o certificado do ARQUIVO FILE para verificar os Servidores. O certificado precisa estar no formato PEM e pode conter m\u00c3\u00baltiplos certificados CA.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">Utilizar a op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212check\u2212certificate<\/i> para habilitar a verifica\u00c3\u00a7\u00c3\u00a3o.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>NOTA:<\/b><\/p>\n<p style=\"margin-left:26%;\">Se aria2 foi compilado com OpenSSL ou vers\u00c3\u00a3o mais recente de GnuTLS a qual tem a fun\u00c3\u00a7\u00c3\u00a3o <b>gnutls_certificate_set_x509_system_trust()<\/b> e a biblioteca foi adequadamente configurada para localizar o certificado CA existente, aria2 ir\u00c3\u00a1 carregar automaticamente estes certificados no in\u00c3cio.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212certificate=<ARQUIVO><\/b><\/p>\n<p style=\"margin-left:22%;\">Usar arquivo com certificado cliente. O certificado deve estar no formato PEM. Pode ser usada a op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212private\u2212key<\/i> para especificar uma chave particular.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212check\u2212certificate [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Verifica se o peer esta usando o certificado especificado na op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212ca\u2212certificate<\/i>. Padr\u00c3\u00a3o: <b>true<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212http\u2212accept\u2212gzip [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Envia cabe\u00c3\u00a7alho requisi\u00c3\u00a7\u00c3\u00a3o <b>Accept: deflate, gzip<\/b> e faz (inflate) se o servidor remoto responder com <b>Content\u2212Encoding: gzip<\/b> ou <b>Content\u2212Encoding: deflate<\/b>. Padr\u00c3\u00a3o: <b>false<\/b><\/p>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>NOTA:<\/b><\/p>\n<p style=\"margin-left:26%;\">Alguns servidores respondem com <b>Content\u2212Encoding: gzip<\/b> para arquivos que s\u00c3\u00a3o gzip. aria2 faz inflate destes por causa do cabe\u00c3\u00a7alho de resposta.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212http\u2212auth\u2212challenge [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Envia cabe\u00c3\u00a7alho de autoriza\u00c3\u00a7\u00c3\u00a3o HTTP s\u00c3\u00b3 quando requisitado pelo servidor. Se <b>false<\/b> \u00c3\u00a9 habilitado, ent\u00c3\u00a3o o cabe\u00c3\u00a7alho de autoriza\u00c3\u00a7\u00c3\u00a3o sempre ser\u00c3\u00a1 enviado ao servidor. H\u00c3\u00a1 uma exce\u00c3\u00a7\u00c3\u00a3o: se o nome do usu\u00c3\u00a1rio de senha s\u00c3\u00a3o embutidas na URI, o cabe\u00c3\u00a7alho de autoriza\u00c3\u00a7\u00c3\u00a3o sempre ser\u00c3\u00a1 enviado ao servidor independente desta op\u00c3\u00a7\u00c3\u00a3o. Padr\u00c3\u00a3o: <b>false<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212http\u2212no\u2212cache [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Envia Cache\u2212Control: no\u2212cache e Pragma: cabe\u00c3\u00a7alho no\u2212cache para evitar conte\u00c3\u00bado do cache. Se <b>false<\/b> \u00c3\u00a9 fornecido, esses cabe\u00c3\u00a7alhos n\u00c3\u00a3o ser\u00c3\u00a3o enviados e poder\u00c3\u00a1 ser adicionado o cabe\u00c3\u00a7alho de Cache\u2212Control com a diretiva desejada usando a op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212header<\/i>. Padr\u00c3\u00a3o: <b>true<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212http\u2212user=<USU\u00c3RIO><\/b><\/p>\n<p style=\"margin-left:22%;\">Define usu\u00c3\u00a1rio HTTP. Isto afeta todas as URIs.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212http\u2212passwd=<PASSWD><\/b><\/p>\n<p style=\"margin-left:22%;\">Define senha HTTP. Isto afeta todas as URIs.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212http\u2212proxy=<PROXY><\/b><\/p>\n<p style=\"margin-left:22%;\">Usar este servidor proxy para HTTP. Para limpar o proxy anteriormente definido use &#8220;&#8221;. Ver tamb\u00c3\u00a9m op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212all\u2212proxy<\/i>. Isto afeta todas URIs. O formato de PROXY \u00c3\u00a9 <b>[http:\/\/][USU\u00c3RIO:SENHA@]SERVIDOR[:PORTA]<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212http\u2212proxy\u2212passwd=<SENHA><\/b><\/p>\n<p style=\"margin-left:22%;\">Define a senha para op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212http\u2212proxy<\/i>.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212http\u2212proxy\u2212user=<USU\u00c3RIO><\/b><\/p>\n<p style=\"margin-left:22%;\">Define o usu\u00c3\u00a1rio para a op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212http\u2212proxy<\/i>.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212https\u2212proxy=<PROXY><\/b><\/p>\n<p style=\"margin-left:22%;\">Usar este servidor proxy para HTTPS. Para limpar o proxy anteriormente, use &#8220;&#8221;. Ver tamb\u00c3\u00a9m op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212all\u2212proxy<\/i>. Isto afeta todas URIs. O formato de PROXY \u00c3\u00a9 <b>[https:\/\/][USU\u00c3RIO:SENHA@]SERVIDOR[:PORTA]<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212https\u2212proxy\u2212passwd=<SENHA><\/b><\/p>\n<p style=\"margin-left:22%;\">Define senha para a op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212https\u2212proxy<\/i>.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212https\u2212proxy\u2212user=<USU\u00c3RIO><\/b><\/p>\n<p style=\"margin-left:22%;\">Define usu\u00c3\u00a1rio para a op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212https\u2212proxy<\/i>.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212private\u2212key=<ARQUIVO><\/b><\/p>\n<p style=\"margin-left:22%;\">Define o arquivo de chave particular que ser\u00c3\u00a1 usado. A chave particular deve estar no formato PEM e n\u00c3\u00a3o pode estar criptografada. O comportamento quando estiver criptografada \u00c3\u00a9 indefinido. Ver tamb\u00c3\u00a9m a op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212certificate<\/i>.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212referer=<REFERER><\/b><\/p>\n<p style=\"margin-left:22%;\">Define a refer\u00c3\u00aancia. Afeta todas URIs. Se <b>*<\/b> \u00c3\u00a9 usado, cada URI requisitada \u00c3\u00a9 usada como refer\u00c3\u00aancia (referer). Pode ser \u00c3\u00batil quando usado em conjunto com a op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212parameterized\u2212uri<\/i>.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212enable\u2212http\u2212keep\u2212alive [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Enable HTTP\/1.1 persistent connection. Padr\u00c3\u00a3o: <b>true<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212enable\u2212http\u2212pipelining [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Habilita pipelining para HTTP\/1.1. Padr\u00c3\u00a3o: <b>false<\/b><\/p>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>NOTA:<\/b><\/p>\n<p style=\"margin-left:26%;\">Da perspectiva de performance, n\u00c3\u00a3o h\u00c3\u00a1 vantagem em habilitar esta op\u00c3\u00a7\u00c3\u00a3o.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212header=<HEADER><\/b><\/p>\n<p style=\"margin-left:22%;\">Anexa CABE\u00c3ALHOao ao cabe\u00c3\u00a7alho HTTP requisitado. Pode usar esta op\u00c3\u00a7\u00c3\u00a3o v\u00c3\u00a1rias vezes para especificar m\u00c3\u00baltiplos cabe\u00c3\u00a7alhos:<\/p>\n<pre style=\"margin-left:26%; margin-top: 1em\">$ aria2c \u2212\u2212header=\"X\u2212A: b78\" \u2212\u2212header=\"X\u2212B: 9J1\" \"http:\/\/servidor\/arquivo\"<\/pre>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212load\u2212cookies=<ARQUIVO><\/b><\/p>\n<p style=\"margin-left:22%;\">Carregar Cookies do ARQUIVO usando formato Firefox3 format (SQLite3), Chromium \/ Google Chrome (SQLite3) e formato Mozilla \/ Firefox(1.x\/2.x) \/ Netscape.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>NOTA:<\/b><\/p>\n<p style=\"margin-left:26%;\">Se aria2 \u00c3\u00a9 compilado sem libsqlite3, ent\u00c3\u00a3o n\u00c3\u00a3o havera suporte aos formatos de cookie Firefox3 e Chromium \/ Google Chrome.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212save\u2212cookies=<ARQUIVO><\/b><\/p>\n<p style=\"margin-left:22%;\">Salva Cookies para o ARQUIVO no formato Mozilla \/ Firefox(1.x\/2.x) \/ Netscape. Se ARQUIVO j\u00c3\u00a1 existe, ser\u00c3\u00a1 sobreposto. Cookies da Sess\u00c3\u00a3o tamb\u00c3\u00a9m ser\u00c3\u00a3o salvos e seus valores de expira\u00c3\u00a7\u00c3\u00a3o ser\u00c3\u00a3o tratados como 0. Valores Poss\u00c3- veis: <b>\/caminho\/do\/arquivo<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212use\u2212head [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Usar m\u00c3\u00a9todo HEAD para a primeira requisi\u00c3\u00a7\u00c3\u00a3o ao servidor HTTP. Padr\u00c3\u00a3o: <b>false<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212U, \u2212\u2212user\u2212agent=<AGENTE_USU\u00c3RIO><\/b><\/p>\n<p style=\"margin-left:22%;\">Define usu\u00c3\u00a1rio agente para download HTTP, HTTPS. Padr\u00c3\u00a3o: <b>aria2\/$VERSION<\/b>, $VERSION \u00c3\u00a9 substitu\u00c3da pela vers\u00c3\u00a3o do aria2.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Op\u00c3\u00a7\u00c3\u00b5es Espec\u00c3ficas de FTP <br \/> \u2212\u2212ftp\u2212user=<USU\u00c3RIO><\/b><\/p>\n<p style=\"margin-left:22%;\">Definir o usu\u00c3\u00a1rio FTP. Isto afeta todas as URIs. Padr\u00c3\u00a3o: <b>anonymous<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212ftp\u2212passwd=<SENHA_FTP><\/b><\/p>\n<p style=\"margin-left:22%;\">Definir senha FTP. Isto afeta todas as URIs. Se o nome existe, mas a senha esta ausente, para login em uma URI, aria2 tenta obter a senha usando o arquivo .netrc, caso exista senha declarada no .netrc. Se n\u00c3\u00a3o existir ser\u00c3\u00a1 utilizada a senha declarada nesta op\u00c3\u00a7\u00c3\u00a3o. Padr\u00c3\u00a3o: <b>ARIA2USER@<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212p, \u2212\u2212ftp\u2212pasv [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Usar modo passivo no FTP. Se <b>false<\/b> \u00c3\u00a9 informado, o modo ativo ser\u00c3\u00a1 usado. Padr\u00c3\u00a3o: <b>true<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212ftp\u2212proxy=<PROXY><\/b><\/p>\n<p style=\"margin-left:22%;\">Usar este servidor proxy para FTP. Para limpar defini\u00c3\u00a7\u00c3\u00a3o proxy previamente definido, use &#8220;&#8221;. Ver tamb\u00c3\u00a9m op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212all\u2212proxy<\/i>. Isto afeta todas URIs. O formato do PROXY \u00c3\u00a9 <b>[http:\/\/][USU\u00c3RIO:SENHA@]SERVIDOR[:PORTA]<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212ftp\u2212proxy\u2212passwd=<PASSWD><\/b><\/p>\n<p style=\"margin-left:22%;\">Define senha para a op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212ftp\u2212proxy<\/i>.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212ftp\u2212proxy\u2212user=<USU\u00c3RIO><\/b><\/p>\n<p style=\"margin-left:22%;\">Define senha para op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212ftp\u2212proxy<\/i>.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212ftp\u2212type=<TYPE><\/b><\/p>\n<p style=\"margin-left:22%;\">Define tipo de transfer\u00c3\u00aancia FTP. Que pode ser: <b>binary<\/b> ou <b>ascii<\/b>. Padr\u00c3\u00a3o: <b>binary<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212ftp\u2212reuse\u2212connection [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Reutilizar conex\u00c3\u00a3o FTP. Padr\u00c3\u00a3o: <b>true<\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Op\u00c3\u00a7\u00c3\u00b5es Comuns de BitTorrent \/ Metalink <br \/> \u2212\u2212select\u2212file=<INDEX>&#8230;<\/b><\/p>\n<p style=\"margin-left:22%;\">Define arquivo para download atrav\u00c3\u00a9s da especifica\u00c3\u00a7\u00c3\u00a3o de seu index. Para achar o index do arquivo use a op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212show\u2212files<\/i>. M\u00c3\u00baltiplos ind\u00c3ces podem ser especificados usando\u2212se <b>,<\/b>, por exemplo: <b>3,6<\/b>. Tamb\u00c3\u00a9m pode ser usado <b>\u2212<\/b> para especificar intervalos: <b>1\u22125<\/b>. Ambos podem ser usados juntos <b>,<\/b> e <b>\u2212<\/b> exemplo: <b>1\u22125,8,9<\/b>. Quando usados com a op\u00c3\u00a7\u00c3\u00a3o \u2212M, o \u00c3ndice pode variar dependendo das op\u00c3\u00a7\u00c3\u00b5es da query. Ver op\u00c3\u00a7\u00c3\u00b5es (<i>\u2212\u2212metalink\u2212*<\/i>).<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>NOTA:<\/b><\/p>\n<p style=\"margin-left:26%;\">Em torrent de m\u00c3\u00baltiplos arquivos, os arquivos adjacentes especificados por essa op\u00c3\u00a7\u00c3\u00a3o tamb\u00c3\u00a9m podem ser baixados. Esse \u00c3\u00a9 o comportamento esperado n\u00c3\u00a3o \u00c3\u00a9 um bug\/erro. Um simples peda\u00c3\u00a7o pode incluir diversos arquivos ou partes de arquivos, e aria2 grava o peda\u00c3\u00a7o(s) no(s) arquivo(s) apropriado(s).<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212S, \u2212\u2212show\u2212files [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Imprimir a lista de arquivos do &#8220;.torrent&#8221;, &#8220;.meta4&#8221; e &#8220;.metalink&#8221; e termina. No caso de arquivo &#8220;.torrent&#8221;, informa\u00c3\u00a7\u00c3\u00b5es adicionais s\u00c3\u00a3o impressas. (infohash, tamanho peda\u00c3\u00a7o, etc).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Op\u00c3\u00a7\u00c3\u00b5es Espec\u00c3ficas de BitTorrent <br \/> \u2212\u2212bt\u2212enable\u2212lpd [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Habilita Descobrir Peer Local. Se indicador particular \u00c3\u00a9 configurado no torrent, aria2 n\u00c3\u00a3o usa esta funcionalidade mesmo que <b>true<\/b> foi informato. Padr\u00c3\u00a3o: <b>false<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212bt\u2212exclude\u2212tracker=<URI>[,&#8230;]<\/b><\/p>\n<p style=\"margin-left:22%;\">Lista separada por v\u00c3rgulas, de trackers de URI BitTorrent que devem ser removidas. Pode ser usado o valor especial <b>*<\/b> para especificar todas URIs; isso ir\u00c3\u00a1 excluir todas URIs de &#8220;announce&#8221;. Quando especificar <b>*<\/b> em uma linha de comando do shell, lembre\u2212se de for\u00c3\u00a7ar o escape or delimite com aspas, ap\u00c3\u00b3strofo ou em linux com crase caracter <i>. Ver tamb\u00c3\u00a9m op\u00c3\u00a7\u00c3\u00a3o :option: `\u2212\u2212bt\u2212tracker<\/i>.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212bt\u2212external\u2212ip=<ENDERE\u00c3O\u2212IP><\/b><\/p>\n<p style=\"margin-left:22%;\">Especificar o IP externo para reportar um track BitTorrent. Mesmo que esta fun\u00c3\u00a7\u00c3\u00a3o tenha o nome <b>external<\/b>, ela pode aceitar qualquer tipo de endere\u00c3\u00a7o IP. ENDERE\u00c3O\u2212IP deve ser um endere\u00c3\u00a7o IP num\u00c3\u00a9rico.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212bt\u2212hash\u2212check\u2212seed [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Se <b>true<\/b> \u00c3\u00a9 informado, ap\u00c3\u00b3s o check do hash usando a op\u00c3\u00a7\u00c3\u00a3o :option: <i>\u2212\u2212check\u2212integrity <\u2212V><\/i> e o arquivo esta completo, continue o arquivo seed. Se desejar verificar o arquivo e efetuar o download somente quando ele estiver imcompleto ou danificado, defina esta op\u00c3\u00a7\u00c3\u00a3o para <b>false<\/b>. Esta op\u00c3\u00a7\u00c3\u00a3o s\u00c3\u00b3 tem efeito para download de BitTorrent. Padr\u00c3\u00a3o: <b>true<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212bt\u2212lpd\u2212interface=<INTERFACE><\/b><\/p>\n<p style=\"margin-left:22%;\">Use o interface de rede informado para Descobrir o Peer Local. Se esta op\u00c3\u00a7\u00c3\u00a3o n\u00c3\u00a3o \u00c3\u00a9 especificada, o interface padr\u00c3\u00a3o \u00c3\u00a9 usado. Pode ser especificado o nome do interface e o endere\u00c3\u00a7o IP. Valores poss\u00c3veis: interface, endere\u00c3\u00a7o IP<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212bt\u2212max\u2212open\u2212files=<N\u00c3MERO><\/b><\/p>\n<p style=\"margin-left:22%;\">Especificar o n\u00c3\u00bamero m\u00c3\u00a1ximo de arquivos para abrir para cada download BitTorrent. Padr\u00c3\u00a3o: <b>100<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212bt\u2212max\u2212peers=<N\u00c3MERO><\/b><\/p>\n<p style=\"margin-left:22%;\">Especificar o n\u00c3\u00bamero m\u00c3\u00a1ximo de peers para cada torrent. <b>0<\/b> significa ilimitado. Ver tamb\u00c3\u00a9m a op\u00c3\u00a7\u00c3\u00a3o :option: <i>\u2212\u2212bt\u2212request\u2212peer\u2212speed\u2212limit<\/i>. Padr\u00c3\u00a3o: <b>55<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212bt\u2212metadata\u2212only [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Download somente os metadados. O(s) arquivo(s) descrito(s) no(s) metadado(s) n\u00c3\u00a3o ser\u00c3\u00a1(\u00c3\u00a3o) baixado(s). Esta op\u00c3\u00a7\u00c3\u00a3o s\u00c3\u00b3 tem efeito para URI BitTorrent Magnet. Ver tamb\u00c3\u00a9m a op\u00c3\u00a7\u00c3\u00a3o :option: <i>\u2212\u2212bt\u2212save\u2212metadata<\/i>. Padr\u00c3\u00a3o: <b>false<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212bt\u2212min\u2212crypto\u2212level=plain|arc4<\/b><\/p>\n<p style=\"margin-left:22%;\">Define o n\u00c3vel m\u00c3nimo do m\u00c3\u00a9todo de critografia. Se existem diversos m\u00c3\u00a9todos s\u00c3\u00a3o fornecidos por um peer, aria2 escolhe o que satisfaz o menor n\u00c3vel especificado. Padr\u00c3\u00a3o: <b>plain<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212bt\u2212prioritize\u2212piece=head[=<TAMANHO>],tail[=<TAMANHO>]<\/b><\/p>\n<p style=\"margin-left:22%;\">Tentar primeiramente o download do primeiro e \u00c3\u00baltimo peda\u00c3\u00a7o de cada arquivo Isto \u00c3\u00a9 \u00c3\u00batil para ver antecipadamente os arquivos. O argumento pode conter duas palavras chave: <b>head<\/b> e <b>tail<\/b>. Para incluir ambos, devem estar separados por v\u00c3rgula. Estas palavras chave possuem um par\u00c3\u00a2metro tamanho. Por examplo, se <b>head=<TAMANHO><\/b> \u00c3\u00a9 especificado, peda\u00c3\u00a7o no intervalo do n\u00c3\u00bamero de bytes iniciais de cada arquivo ter\u00c3\u00a3o prioridade. <b>tail=<TAMANHO><\/b> significa que o intervalo final no TAMANHO informado de cada arquivo. TAMANHO pode incluir <b>K<\/b> ou <b>M<\/b> (1K = 1024, 1M = 1024K). Se TAMANHO \u00c3\u00a9 omitido, TAMNHA de 1M ser\u00c3\u00a1 usado.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212bt\u2212remove\u2212unselected\u2212file [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Remove os arquivos n\u00c3\u00a3o selecionados quando o download do BitTorrent estiver completo. Para selecionar arquivo(s) use a op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212select\u2212file<\/i>. Se n\u00c3\u00a3o for usada esta op\u00c3\u00a7\u00c3\u00a3o, \u00c3\u00a9 assumido que todos os arquivos ser\u00c3\u00a3o selecionados. Use esta op\u00c3\u00a7\u00c3\u00a3o com crit\u00c3\u00a9rio pois ela realmente remove arquivo(s) do seu disco. Padr\u00c3\u00a3o: <b>false<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212bt\u2212require\u2212crypto [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Se true \u00c3\u00a9 informado, aria2 n\u00c3\u00a3o aceita nem estabelece conex\u00c3\u00a3o com handshake de BitTorrent (protocolo 19BitTorrent). Em vez disso aria2 usa (Obfuscation handshake. Padr\u00c3\u00a3o: <b>false<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212bt\u2212request\u2212peer\u2212speed\u2212limit=<VELOCIDADE><\/b><\/p>\n<p style=\"margin-left:22%;\">Se a velocidade total de download do torrent \u00c3\u00a9 menor que a <VELOCIDADE>, aria2 temporariamente incrementa o n\u00c3\u00bamero de peers para tentar maior velocidade de download. Configurando esta op\u00c3\u00a7\u00c3\u00a3o com sua velocidade preferida pode incrementar a velocidade de download em alguns casos. Pode ser anexado <b>K<\/b> ou <b>M<\/b> (1K = 1024, 1M = 1024K). Padr\u00c3\u00a3o: <b>50K<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212bt\u2212save\u2212metadata [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Salvar metadados como arquivo &#8220;.torrent&#8221; file. Esta op\u00c3\u00a7\u00c3\u00a3o tem efeito somente se URI usada \u00c3\u00a9 de BitTorrent Magnet. O nome do arquivo \u00c3\u00a9 codificado em hash em hexadecimal com sufixo de &#8220;.torrent&#8221;. O diret\u00c3\u00b3rio onde ser\u00c3\u00a1 salvo o o metadado, \u00c3\u00a9 o mesmo onde aponta o download do arquivo. Se o arquivo j\u00c3\u00a1 existe, o metadado n\u00c3\u00a3o ser\u00c3\u00a1 salvo. Ver tamb\u00c3\u00a9mn a op\u00c3\u00a7\u00c3\u00a3o :option: <i>\u2212\u2212bt\u2212metadata\u2212only<\/i>. Padr\u00c3\u00a3o: <b>false<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212bt\u2212seed\u2212unverified [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Faz Seed do arquivo previamente baixado sem verificar os hashes dos peda\u00c3\u00a7os. Padr\u00c3\u00a3o: <b>false<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212bt\u2212stop\u2212timeout=<SEGUNDOS><\/b><\/p>\n<p style=\"margin-left:22%;\">Interrompe o download do BitTorrent se a velocidade do for zero por consecutivos SEGUNDOS. Se <b>0<\/b> \u00c3\u00a9 informado, esta funcionalidade \u00c3\u00a9 desabilitada. Padr\u00c3\u00a3o: <b>0<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212bt\u2212tracker=<URI>[,&#8230;]<\/b><\/p>\n<p style=\"margin-left:22%;\">Lista URI, separada por v\u00c3rgulas, dos rastreadores BitTorrent. Estas URIs n\u00c3\u00a3o s\u00c3\u00a3o afetadas pela op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212bt\u2212exclude\u2212tracker<\/i>, porque elas s\u00c3\u00a3o adicionadas ap\u00c3\u00b3s as URIs da op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212bt\u2212exclude\u2212tracker<\/i> serem removidas.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212bt\u2212tracker\u2212connect\u2212timeout=<SEGUNDOS><\/b><\/p>\n<p style=\"margin-left:22%;\">Define o tempo de conex\u00c3\u00a3o em segundos para estabelecera conex\u00c3\u00a3o com o tracker. Ap\u00c3\u00b3s a conex\u00c3\u00a3o ser estabelecida, esta op\u00c3\u00a7\u00c3\u00a3o n\u00c3\u00a3o tem mais efeito e a op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212bt\u2212tracker\u2212timeout<\/i> \u00c3\u00a9 usada. Padr\u00c3\u00a3o: <b>60<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212bt\u2212tracker\u2212interval=<SEGUNDOS><\/b><\/p>\n<p style=\"margin-left:22%;\">Define o intervalo em segundos, entre as requisi\u00c3\u00a7\u00c3\u00b5es ao tracker \/ rastreador. Isso sobrep\u00c3\u00b5e o valor do intervalo e aria2 passa a us\u00c3\u00a1\u2212los e ignorar o valor m\u00c3nimo de resposta do tracker \/ rastreador. Se <b>0<\/b> \u00c3\u00a9 definido, aria2 assume que o intervalo ser\u00c3\u00a1 baseado no tracker \/ rastreador e o download ir\u00c3\u00a1 prosseguir. Padr\u00c3\u00a3o: <b>0<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212bt\u2212tracker\u2212timeout=<SEGUNDOS><\/b><\/p>\n<p style=\"margin-left:22%;\">Define em segundos o intervalo do timeout. Padr\u00c3\u00a3o: <b>60<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212dht\u2212entry\u2212point=<SERVIDOR>:<PORTA><\/b><\/p>\n<p style=\"margin-left:22%;\">Define servidor e a porta da rede DHT IPv4.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212dht\u2212entry\u2212point6=<SERVIDOR>:<PORTA><\/b><\/p>\n<p style=\"margin-left:22%;\">Define servidor e a porta da rede DHT IPv6.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212dht\u2212file\u2212path=<CAMINHO><\/b><\/p>\n<p style=\"margin-left:22%;\">Modifica o caminho (CAMINHO) para o arquivo da tabela de roteamento DHT IPv4. Padr\u00c3\u00a3o: <b>$HOME\/.aria2\/dht.dat<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212dht\u2212file\u2212path6=<PATH><\/b><\/p>\n<p style=\"margin-left:22%;\">Modifica o caminho (CAMINHO) para o arquivo da tabela de roteamento DHT IPv6. Padr\u00c3\u00a3o: <b>$HOME\/.aria2\/dht6.dat<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212dht\u2212listen\u2212addr6=<ADDR><\/b><\/p>\n<p style=\"margin-left:22%;\">Define o endere\u00c3\u00a7o para o bind do socket para DHT IPv6. Deve ser endere\u00c3\u00a7o global IPv6 do servidor.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212dht\u2212listen\u2212port=<PORT>&#8230;<\/b><\/p>\n<p style=\"margin-left:22%;\">Define portas UDP para ouvir para DHT (IPv4 e IPv6) e rastreador UDP. M\u00c3\u00baltiplas portas podem ser especificadas atrav\u00c3\u00a9s do uso de <b>,<\/b>, por exemplo: <b>6881,6885<\/b>. Tamb\u00c3\u00a9m pode ser usado <b>\u2212<\/b> para especificar intervalo, exemplo: <b>6881\u22126999<\/b>. Ambos <b>,<\/b> and <b>\u2212<\/b> podem ser usados em conjunto. Padr\u00c3\u00a3o: <b>6881\u22126999<\/b><\/p>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>NOTA:<\/b><\/p>\n<p style=\"margin-left:26%;\">Cerfifique\u2212se que as portas especificadas est\u00c3\u00a3o dispon\u00c3veis para tr\u00c3\u00a1fego UDP de entrada.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212dht\u2212message\u2212timeout=<SEGUNDOS><\/b><\/p>\n<p style=\"margin-left:22%;\">Define timeout em segundos. Padr\u00c3\u00a3o: <b>10<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212enable\u2212dht [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Habilita funcionalidade DHT IPv4. Tambem habilita suporte a rastreador UDP. Se um identificador particular \u00c3\u00a9 usado em um torrente, aria2 n\u00c3\u00a3o usa DHT para aquele download, mesmo que <b>true<\/b> foi informado. Padr\u00c3\u00a3o: <b>true<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212enable\u2212dht6 [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Habilita funcionalidade DHT IPv6. Se identificador particular \u00c3\u00a9 usado em um torrent, aria2 n\u00c3\u00a3o usa DHT para aquele download mesmo que <b>true<\/b> foi informado. Usar op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212dht\u2212listen\u2212port<\/i> para especificar n\u00c3\u00bamero(s) de porta(s) para ser(em) ouvida(s). Ver tamb\u00c3\u00a9m op\u00c3\u00a7\u00c3\u00a3o :option:` \u2212\u2212dht\u2212listen\u2212addr6` Padr\u00c3\u00a3o: <b>true<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212enable\u2212peer\u2212exchange [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Habilita extens\u00c3\u00a3o Peer Exchange. Se um indicador particular \u00c3\u00a9 usado nesse torrent, essa funcionalidade ser\u00c3\u00a1 desabilitada para o download, mesmo que <b>true<\/b> foi informado. Padr\u00c3\u00a3o: <b>true<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212follow\u2212torrent=true|false|mem<\/b><\/p>\n<p style=\"margin-left:22%;\">Se <b>true<\/b> ou <b>mem<\/b> \u00c3\u00a9 especificado, quando um arquivo cujo sufixo \u00c3\u00a9 <b>.torrent<\/b> ou o tipo de conte\u00c3\u00bado \u00c3\u00a9 <b>application\/x\u2212bittorrent<\/b> \u00c3\u00a9 baixado, aria2 faz o parse como arquivo torrent e executa o download dos arquivos mencionados nele. Se <b>mem<\/b> \u00c3\u00a9 especificado, o arquivo torrent n\u00c3\u00a3o ser\u00c3\u00a1 gravado em disco, apenas ser\u00c3\u00a1 mantido em mem\u00c3\u00b3ria. Se <b>false<\/b> \u00c3\u00a9 especificado, a a\u00c3\u00a7\u00c3\u00a3o acima descrita n\u00c3\u00a3o ser\u00c3\u00a1 executada. Padr\u00c3\u00a3o: <b>true<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212O, \u2212\u2212index\u2212out=<INDEX>=<PATH><\/b><\/p>\n<p style=\"margin-left:22%;\">Define o caminho do arquivo com \u00c3ndice=INDEX. O arquivo \u00c3ndice pode ser localizado usando\u2212se a op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212show\u2212files<\/i>. PATH \u00c3\u00a9 o caminho relativo ao caminho especificado na op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212dir<\/i>. Esta op\u00c3\u00a7\u00c3\u00a3o pode ser usada m\u00c3\u00baltiplas vezes. Com esta op\u00c3\u00a7\u00c3\u00a3o pode\u2212se especificar o nome dos arquivos que ser\u00c3\u00a3o baixados pelo BitTorrent.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212listen\u2212port=<PORT>&#8230;<\/b><\/p>\n<p style=\"margin-left:22%;\">Define o n\u00c3\u00bamero das portas TCP para download de BitTorrent. Multiplas portas s\u00c3\u00a3o especificadas usando <b>,<\/b>, por exemplo: <b>6881,6885<\/b>. Tamb\u00c3\u00a9m pode usar <b>\u2212<\/b> para especificar intervalos: <b>6881\u22126999<\/b>. Ambos <b>,<\/b> and <b>\u2212<\/b> podem ser usados em conjunto: <b>6881\u22126889,6999<\/b>. Padr\u00c3\u00a3o: <b>6881\u22126999<\/b><\/p>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>NOTA:<\/b><\/p>\n<p style=\"margin-left:26%;\">Certifique\u2212se que as portas estejam habilitadas para tr\u00c3\u00a1fego TCP de entrada.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212max\u2212overall\u2212upload\u2212limit=<VELOCIDADE><\/b><\/p>\n<p style=\"margin-left:22%;\">Define a velocidade m\u00c3\u00a1xima geral de upload em bytes\/seg. <b>0<\/b> significa irrestrito. Pode anexar <b>K<\/b> ou <b>M<\/b> (1K = 1024, 1M = 1024K). Para limitar a velocidade de upload por torrent, usar op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212max\u2212upload\u2212limit<\/i>. Padr\u00c3\u00a3o: <b>0<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212u, \u2212\u2212max\u2212upload\u2212limit=<VELOCIDADE><\/b><\/p>\n<p style=\"margin-left:22%;\">Define a velocidade m\u00c3\u00a1xima para cada torrent em bytes\/seg. <b>0<\/b> significa irrestrito. Pode anexar <b>K<\/b> ou <b>M<\/b> (1K = 1024, 1M = 1024K). Para limitar a velocidade global de upload de torrent, usar op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212max\u2212overall\u2212upload\u2212limit<\/i>. Padr\u00c3\u00a3o: <b>0<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212peer\u2212id\u2212prefix=<PEER_ID_PREFIX><\/b><\/p>\n<p style=\"margin-left:22%;\">Especifica o prefixo para ID do peer. O ID do peer em um BitTorrent tem o tamanho de 20 bytes. Se mais de 20 bytes s\u00c3\u00a3o especificados, somente os 20 bytes iniciais ser\u00c3\u00a3o usados. Se menos de 20 bytes s\u00c3\u00a3o especificados, dados randomicos ser\u00c3\u00a3o adicionados para completar o tamanho de 20 bytes. Padr\u00c3\u00a3o: <b>aria2\/$VERS\u00c3O\u2212<\/b>, $VERS\u00c3O \u00c3\u00a9 a vers\u00c3\u00a3o do pacote aria2.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212seed\u2212ratio=<RATIO><\/b><\/p>\n<p style=\"margin-left:22%;\">Specify share ratio. Seed completed torrents until share ratio reaches RATIO. You are strongly encouraged to specify equals or more than <b>1.0<\/b> here. Specify <b>0.0<\/b> if you intend to do seeding regardless of share ratio. If <i>\u2212\u2212seed\u2212time<\/i> option is specified along with this option, seeding ends when at least one of the conditions is satisfied. Padr\u00c3\u00a3o: <b>1.0<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212seed\u2212time=<MINUTES><\/b><\/p>\n<p style=\"margin-left:22%;\">Especificar o tempo de (seeding) em minutos. Ver tamb\u00c3\u00a9m a op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212seed\u2212ratio<\/i>.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>NOTA:<\/b><\/p>\n<p style=\"margin-left:26%;\">Especificando <i>\u2212\u2212seed\u2212time=0<\/i> desabilita o (seeding) ap\u00c3\u00b3s o download ter sido completado.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212T, \u2212\u2212torrent\u2212file=<TORRENT_FILE><\/b><\/p>\n<p style=\"margin-left:22%;\">O caminho para o arquivo &#8220;.torrent&#8221;. N\u00c3\u00a3o \u00c3\u00a9 obrigat\u00c3\u00b3rio usar esta op\u00c3\u00a7\u00c3\u00a3o pois pode ser especificado arquivo &#8220;.torrent&#8221; sem a op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212torrent\u2212file<\/i>.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Op\u00c3\u00a7\u00c3\u00b5es Espec\u00c3ficas de Metalink <br \/> \u2212\u2212follow\u2212metalink=true|false|mem<\/b><\/p>\n<p style=\"margin-left:22%;\">If <b>true<\/b> or <b>mem<\/b> is specified, when a file whose suffix is <b>.meta4<\/b> or <b>.metalink<\/b> or content type of <b>application\/metalink4+xml<\/b> or <b>application\/metalink+xml<\/b> is downloaded, aria2 parses it as a metalink file and downloads files mentioned in it. If <b>mem<\/b> is specified, a metalink file is not written to the disk, but is just kept in memory. If <b>false<\/b> is specified, the action mentioned above is not taken. Padr\u00c3\u00a3o: <b>true<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212metalink\u2212base\u2212uri=<URI><\/b><\/p>\n<p style=\"margin-left:22%;\">Specify base URI to resolve relative URI in metalink:url and metalink:metaurl element in a metalink file stored in local disk. If URI points to a directory, URI must end with <b>\/<\/b>.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212M, \u2212\u2212metalink\u2212file=<METALINK_FILE><\/b><\/p>\n<p style=\"margin-left:22%;\">The file path to &#8220;.meta4&#8221; and &#8220;.metalink&#8221; file. Reads input from stdin when <b>\u2212<\/b> is specified. You are not required to use this option because you can specify &#8220;.metalink&#8221; files without <i>\u2212\u2212metalink\u2212file<\/i>.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212metalink\u2212language=<LANGUAGE><\/b><\/p>\n<p style=\"margin-left:22%;\">The language of the file to download.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212metalink\u2212location=<LOCATION>[,&#8230;]<\/b><\/p>\n<p style=\"margin-left:22%;\">The location of the preferred server. A comma\u2212delimited list of locations is acceptable, for example, <b>jp,us<\/b>.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212metalink\u2212os=<OS><\/b><\/p>\n<p style=\"margin-left:22%;\">The operating system of the file to download.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212metalink\u2212version=<VERSION><\/b><\/p>\n<p style=\"margin-left:22%;\">The version of the file to download.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212metalink\u2212preferred\u2212protocol=<PROTO><\/b><\/p>\n<p style=\"margin-left:22%;\">Specify preferred protocol. The possible values are <b>http<\/b>, <b>https<\/b>, <b>ftp<\/b> and <b>none<\/b>. Specify <b>none<\/b> to disable this feature. Padr\u00c3\u00a3o: <b>none<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212metalink\u2212enable\u2212unique\u2212protocol [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">If <b>true<\/b> is given and several protocols are available for a mirror in a metalink file, aria2 uses one of them. Use <i>\u2212\u2212metalink\u2212preferred\u2212protocol<\/i> option to specify the preference of protocol. Padr\u00c3\u00a3o: <b>true<\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Op\u00c3\u00a7\u00c3\u00b5es espec\u00c3ficas de RPC <br \/> \u2212\u2212enable\u2212rpc [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Enable JSON\u2212RPC\/XML\u2212RPC server. It is strongly recommended to set username and password using <i>\u2212\u2212rpc\u2212user<\/i> and <i>\u2212\u2212rpc\u2212passwd<\/i> option. See also <i>\u2212\u2212rpc\u2212listen\u2212port<\/i> option. Padr\u00c3\u00a3o: <b>false<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212pause [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Pause o download ap\u00c3\u00b3s adicionado. Est\u00c3\u00a1 op\u00c3\u00a7\u00c3\u00a3o s\u00c3\u00b3 \u00c3\u00a9 efetiva quando a op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212enable\u2212rpc=true<\/i> \u00c3\u00a9 informada. Padr\u00c3\u00a3o: <b>false<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212rpc\u2212allow\u2212origin\u2212all [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Adiciona o campo de cabe\u00c3\u00a7alho, <b>Access\u2212Control\u2212Allow\u2212Origin<\/b>, com o valor <b>*<\/b> \u00c3\u00a1 resposta RPC. Padr\u00c3\u00a3o: <b>false<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212rpc\u2212certificate=<ARQUIVO><\/b><\/p>\n<p style=\"margin-left:22%;\">Usar o certificado no ARQUIVO para servidor RPC. O certificado deve estar no formato PEM. Usar op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212rpc\u2212private\u2212key<\/i> para especificar chave particular. Usar a op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212rpc\u2212secure<\/i> para habilitar criptografia. Usu\u00c3\u00a1rios de <i>AppleTLS<\/i> precisam antes gerar o certificado pr\u00c3\u00b3prio auto\u2212assinado atrav\u00c3\u00a9s do utilit\u00c3\u00a1rio <b>Keychain Access<\/b>, por ex: usando o assistente e tomando nota da identifica\u00c3\u00a7\u00c3\u00a3o SHA\u22121 do certificado gerado. Para executar o aria2c com a op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212rpc\u2212secure<\/i> usar <i>\u2212\u2212rpc\u2212certificate=<SHA\u22121><\/i> e apenas omitir a op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212rpc\u2212private\u2212key<\/i><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212rpc\u2212listen\u2212all [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Listen incoming JSON\u2212RPC\/XML\u2212RPC requests on all network interfaces. If false is given, listen only on local loopback interface. Padr\u00c3\u00a3o: <b>false<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212rpc\u2212listen\u2212port=<PORT><\/b><\/p>\n<p style=\"margin-left:22%;\">Specify a port number for JSON\u2212RPC\/XML\u2212RPC server to listen to. Possible Values: <b>1024<\/b> \u2212<b>65535<\/b> Padr\u00c3\u00a3o: <b>6800<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212rpc\u2212max\u2212request\u2212size=<TAMANHO><\/b><\/p>\n<p style=\"margin-left:22%;\">Set max size of JSON\u2212RPC\/XML\u2212RPC request. If aria2 detects the request is more than SIZE bytes, it drops connection. Padr\u00c3\u00a3o: <b>2M<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212rpc\u2212passwd=<PASSWD><\/b><\/p>\n<p style=\"margin-left:22%;\">Set JSON\u2212RPC\/XML\u2212RPC password.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212rpc\u2212private\u2212key=<FILE><\/b><\/p>\n<p style=\"margin-left:22%;\">Use the private key in FILE for RPC server. The private key must be decrypted and in PEM format. Use <i>\u2212\u2212rpc\u2212secure<\/i> option to enable encryption. See also <i>\u2212\u2212rpc\u2212certificate<\/i> option.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212rpc\u2212save\u2212upload\u2212metadata [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Save the uploaded torrent or metalink metadata in the directory specified by <i>\u2212\u2212dir<\/i> option. The filename consists of SHA\u22121 hash hex string of metadata plus extension. For torrent, the extension is &#8216;.torrent&#8217;. For metalink, it is &#8216;.meta4&#8217;. If false is given to this option, the downloads added by <i>aria2.addTorrent()<\/i> or <i>aria2.addMetalink()<\/i> will not be saved by <i>\u2212\u2212save\u2212session<\/i> option. Default: <b>false<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212rpc\u2212secure [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">RPC transport will be encrypted by SSL\/TLS. The RPC clients must use https scheme to access the server. For WebSocket client, use wss scheme. Use <i>\u2212\u2212rpc\u2212certificate<\/i> and <i>\u2212\u2212rpc\u2212private\u2212key<\/i> options to specify the server certificate and private key.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212rpc\u2212user=<USU\u00c3RIO><\/b><\/p>\n<p style=\"margin-left:22%;\">Set JSON\u2212RPC\/XML\u2212RPC user.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Op\u00c3\u00a7\u00c3\u00b5es Avan\u00c3\u00a7adas <br \/> \u2212\u2212allow\u2212overwrite [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Reiniciar o download desde o in\u00c3cio se o correspondente arquivo de controle n\u00c3\u00a3o existir. Ver tamb\u00c3\u00a9m a op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212auto\u2212file\u2212renaming<\/i>. Padr\u00c3\u00a3o: <b>false<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212allow\u2212piece\u2212length\u2212change [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Se <b>false<\/b> \u00c3\u00a9 informado, aria2 interrompe o download quando o tamanho de um peda\u00c3\u00a7o for diferente do especificado no arquivo controle. Se <b>true<\/b> \u00c3\u00a9 informado, o download prossegue mas o progresso ser\u00c3\u00a1 perdido. Padr\u00c3\u00a3o: <b>false<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212always\u2212resume [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Sempre continuar. Se If <b>true<\/b> \u00c3\u00a9 informado, aria2 sempre tentar\u00c3\u00a1 retomar o download do ponto interrompido e se n\u00c3\u00a3o for possivel o download ser\u00c3\u00a1 interrompido. Se <b>false<\/b> \u00c3\u00a9 informado, quando todas URIs fornecidas n\u00c3\u00a3o suportarem a continuidade do download ou aria2 encontrar <b>N<\/b> URIs as quais n\u00c3\u00a3o suportem retomar o download (<b>N<\/b> \u00c3\u00a9 o valor especificado na op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212max\u2212resume\u2212failure\u2212tries<\/i>), aria2 ir\u00c3\u00a1 iniciar o download do in\u00c3cio. Ver op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212max\u2212resume\u2212failure\u2212tries<\/i> Padr\u00c3\u00a3o: <b>true<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212async\u2212dns [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Habilita DNS ass\u00c3ncrono. Padr\u00c3\u00a3o: <b>true<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212async\u2212dns\u2212server=<ENDERE\u00c3O\u2212IP>[,&#8230;]<\/b><\/p>\n<p style=\"margin-left:22%;\">Lista separada por v\u00c3rgulas, dos endere\u00c3\u00a7os dos servidores DNS ass\u00c3ncronos usados pelo resolvedor. Normalmente o resolvedor de DNS ass\u00c3ncronos faz a leitura dos endere\u00c3\u00a7os a partir do arquivo <b>\/etc\/resolv.conf<\/b>. Quando essa op\u00c3\u00a7\u00c3\u00a3o \u00c3\u00a9 usada \u00c3\u00a9 feito uso dos servidores DNS especificados na op\u00c3\u00a7\u00c3\u00a3o em detrimento do conte\u00c3\u00bado do arquivo <b>\/etc\/resolv.conf<\/b>. Podem ser usados ambos endere\u00c3\u00a7os IPv4 e IPv6. Essa op\u00c3\u00a7\u00c3\u00a3o \u00c3\u00a9 \u00c3\u00batil quando o sistema n\u00c3\u00a3o possui <b>\/etc\/resolv.conf<\/b> e o usu\u00c3\u00a1rio n\u00c3\u00a3o tem permiss\u00c3\u00a3o para cri\u00c3\u00a1\u2212lo.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212auto\u2212file\u2212renaming [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Renomear o arquivo se o mesmo j\u00c3\u00a1 existir. Essa op\u00c3\u00a7\u00c3\u00a3o s\u00c3\u00b3 funciona em download HTTP, HTTPS e FTP. O novo nome do arquivo ter\u00c3\u00a1 um ponto e uma sequ\u00c3\u00aancia (1..9999) como sufixo. Padr\u00c3\u00a3o: <b>true<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212auto\u2212save\u2212interval=<SEGUNDOS><\/b><\/p>\n<p style=\"margin-left:22%;\">Salvar o arquivo de controle (*.aria2) a cada intervalo de SEGUNDOS. Se <b>0<\/b> \u00c3\u00a9 informado, o arquivo de controle n\u00c3\u00a3o ser\u00c3\u00a1 salvo durante o download. aria2 salva o arquivo de controle quando parar, independentemente do valor. As possibilidades v\u00c3\u00a3o desde <b>0<\/b> at\u00c3\u00a9 <b>600<\/b>. Padr\u00c3\u00a3o: <b>60<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212conditional\u2212get [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Download file only when the local file is older than remote file. This function only works with HTTP, HTTPS, downloads only. It does not work if file size is specified in Metalink. It also ignores Content\u2212Disposition header. If a control file exists, this option will be ignored. This function uses If\u2212Modified\u2212Since header to get only newer file conditionally. When getting modification time of local file, it uses user supplied filename(see <i>\u2212\u2212out<\/i> option) or filename part in URI if <i>\u2212\u2212out<\/i> is not specified. To overwrite existing file, <i>\u2212\u2212allow\u2212overwrite<\/i> is required. Padr\u00c3\u00a3o: <b>false<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212conf\u2212path=<PATH><\/b><\/p>\n<p style=\"margin-left:22%;\">Change the configuration file path to PATH. Padr\u00c3\u00a3o: <b>$HOME\/.aria2\/aria2.conf<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212console\u2212log\u2212level=<LEVEL><\/b><\/p>\n<p style=\"margin-left:22%;\">Set log level to output to console. LEVEL is either <b>debug<\/b>, <b>info<\/b>, <b>notice<\/b>, <b>warn<\/b> or <b>error<\/b>. Default: <b>notice<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212D, \u2212\u2212daemon [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Run as daemon. The current working directory will be changed to <b>\/<\/b> and standard input, standard output and standard error will be redirected to <b>\/dev\/null<\/b>. Padr\u00c3\u00a3o: <b>false<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212deferred\u2212input [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">If <b>true<\/b> is given, aria2 does not read all URIs and options from file specified by <i>\u2212\u2212input\u2212file<\/i> option at startup, but it reads one by one when it needs later. This may reduce memory usage if input file contains a lot of URIs to download. If <b>false<\/b> is given, aria2 reads all URIs and options at startup. Padr\u00c3\u00a3o: <b>false<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212disable\u2212ipv6 [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Disable IPv6. This is useful if you have to use broken DNS and want to avoid terribly slow AAAA record lookup. Padr\u00c3\u00a3o: <b>false<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212disk\u2212cache=<SIZE><\/b><\/p>\n<p style=\"margin-left:22%;\">Enable disk cache. If SIZE is <b>0<\/b>, the disk cache is disabled. This feature caches the downloaded data in memory, which grows to at most SIZE bytes. The cache storage is created for aria2 instance and shared by all downloads. The one advantage of the disk cache is reduce the disk I\/O because the data are written in larger unit and it is reordered by the offset of the file. If hash checking is involved and the data are cached in memory, we don&#8217;t need to read them from the disk. SIZE can include <b>K<\/b> or <b>M<\/b> (1K = 1024, 1M = 1024K). Default: <b>16M<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212download\u2212result=<OPT><\/b><\/p>\n<p style=\"margin-left:22%;\">This option changes the way <b>Download Results<\/b> is formatted. If OPT is <b>default<\/b>, print GID, status, average download speed and path\/URI. If multiple files are involved, path\/URI of first requested file is printed and remaining ones are omitted. If OPT is <b>full<\/b>, print GID, status, average download speed, percentage of progress and path\/URI. The percentage of progress and path\/URI are printed for each requested file in each row. Padr\u00c3\u00a3o: <b>default<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212enable\u2212async\u2212dns6 [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Enable IPv6 name resolution in asynchronous DNS resolver. This option will be ignored when <i>\u2212\u2212async\u2212dns=false.<\/i> Padr\u00c3\u00a3o: <b>false<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212enable\u2212mmap [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Map files into memory. This option may not work if the file space is not pre\u2212allocated. See <i>\u2212\u2212file\u2212allocation<\/i>.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">Padr\u00c3\u00a3o: <b>false<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212event\u2212poll=<POLL><\/b><\/p>\n<p style=\"margin-left:22%;\">Specify the method for polling events. The possible values are <b>epoll<\/b>, <b>kqueue<\/b>, <b>port<\/b>, <b>poll<\/b> and <b>select<\/b>. For each <b>epoll<\/b>, <b>kqueue<\/b>, <b>port<\/b> and <b>poll<\/b>, it is available if system supports it. <b>epoll<\/b> is available on recent Linux. <b>kqueue<\/b> is available on various *BSD systems including Mac OS X. <b>port<\/b> is available on Open Solaris. The default value may vary depending on the system you use.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212file\u2212allocation=<METHOD><\/b><\/p>\n<p style=\"margin-left:22%;\">Specify file allocation method. <b>none<\/b> doesn&#8217;t pre\u2212allocate file space. <b>prealloc<\/b> pre\u2212allocates file space before download begins. This may take some time depending on the size of the file. If you are using newer file systems such as ext4 (with extents support), btrfs, xfs or NTFS(MinGW build only), <b>falloc<\/b> is your best choice. It allocates large(few GiB) files almost instantly. Don&#8217;t use <b>falloc<\/b> with legacy file systems such as ext3 and FAT32 because it takes almost same time as <b>prealloc<\/b> and it blocks aria2 entirely until allocation finishes. <b>falloc<\/b> may not be available if your system doesn&#8217;t have <b>posix_fallocate(3)<\/b> function. <b>trunc<\/b> uses <b>ftruncate(2)<\/b> system call or platform\u2212specific counterpart to truncate a file to a specified length.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">Possible Values: <b>none<\/b>, <b>prealloc<\/b>, <b>trunc<\/b>, <b>falloc<\/b> Padr\u00c3\u00a3o: <b>prealloc<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212force\u2212save [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Save download with <i>\u2212\u2212save\u2212session<\/i> option even if the download is completed or removed. This may be useful to save BitTorrent seeding which is recognized as completed state. Default: <b>false<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212gid=<GID><\/b><\/p>\n<p style=\"margin-left:22%;\">Set GID manually. aria2 identifies each download by the ID called GID. The GID must be hex string of 16 characters, thus [0\u22129a\u2212zA\u2212Z] are allowed and leading zeros must not be stripped. The GID all 0 is reserved and must not be used. The GID must be unique, otherwise error is reported and the download is not added. This option is useful when restoring the sessions saved using <i>\u2212\u2212save\u2212session<\/i> option. If this option is not used, new GID is generated by aria2.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212hash\u2212check\u2212only [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">If <b>true<\/b> is given, after hash check using <i>\u2212\u2212check\u2212integrity<\/i> option, abort download whether or not download is complete. Padr\u00c3\u00a3o: <b>false<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212human\u2212readable [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Print sizes and speed in human readable format (e.g., 1.2Ki, 3.4Mi) in the console readout. Padr\u00c3\u00a3o: <b>true<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212interface=<INTERFACE><\/b><\/p>\n<p style=\"margin-left:22%;\">Bind sockets to given interface. You can specify interface name, IP address and hostname. Possible Values: interface, IP address, hostname<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>NOTA:<\/b><\/p>\n<p style=\"margin-left:26%;\">If an interface has multiple addresses, it is highly recommended to specify IP address explicitly. See also <i>\u2212\u2212disable\u2212ipv6<\/i>. If your system doesn&#8217;t have <b>getifaddrs(3)<\/b>, this option doesn&#8217;t accept interface name.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212max\u2212download\u2212result=<N\u00c3MERO><\/b><\/p>\n<p style=\"margin-left:22%;\">Set maximum number of download result kept in memory. The download results are completed\/error\/removed downloads. The download results are stored in FIFO queue and it can store at most NUM download results. When queue is full and new download result is created, oldest download result is removed from the front of the queue and new one is pushed to the back. Setting big number in this option may result high memory consumption after thousands of downloads. Specifying 0 means no download result is kept. Padr\u00c3\u00a3o: <b>1000<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212max\u2212resume\u2212failure\u2212tries=<N><\/b><\/p>\n<p style=\"margin-left:22%;\">When used with <i>\u2212\u2212always\u2212resume=false,<\/i> aria2 downloads file from scratch when aria2 detects N number of URIs that does not support resume. If N is <b>0<\/b>, aria2 downloads file from scratch when all given URIs do not support resume. See <i>\u2212\u2212always\u2212resume<\/i> option. Padr\u00c3\u00a3o: <b>0<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212log\u2212level=<LEVEL><\/b><\/p>\n<p style=\"margin-left:22%;\">Set log level to output. LEVEL is either <b>debug<\/b>, <b>info<\/b>, <b>notice<\/b>, <b>warn<\/b> or <b>error<\/b>. Padr\u00c3\u00a3o: <b>debug<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212on\u2212bt\u2212download\u2212complete=<COMMAND><\/b><\/p>\n<p style=\"margin-left:22%;\">For BitTorrent, a command specified in <i>\u2212\u2212on\u2212download\u2212complete<\/i> is called after download completed and seeding is over. On the other hand, this option set the command to be executed after download completed but before seeding. See <i>Intera\u00c3\u00a7\u00c3\u00a3o com Eventos (Hook)<\/i> for more details about COMMAND. Possible Values: <b>\/path\/to\/command<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212on\u2212download\u2212complete=<COMMAND><\/b><\/p>\n<p style=\"margin-left:22%;\">Set the command to be executed after download completed. See See <i>Intera\u00c3\u00a7\u00c3\u00a3o com Eventos (Hook)<\/i> for more details about COMMAND. See also <i>\u2212\u2212on\u2212download\u2212stop<\/i> option. Possible Values: <b>\/path\/to\/command<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212on\u2212download\u2212error=<COMMAND><\/b><\/p>\n<p style=\"margin-left:22%;\">Set the command to be executed after download aborted due to error. See <i>Intera\u00c3\u00a7\u00c3\u00a3o com Eventos (Hook)<\/i> for more details about COMMAND. See also <i>\u2212\u2212on\u2212download\u2212stop<\/i> option. Possible Values: <b>\/path\/to\/command<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212on\u2212download\u2212pause=<COMMAND><\/b><\/p>\n<p style=\"margin-left:22%;\">Set the command to be executed after download was paused. See <i>Intera\u00c3\u00a7\u00c3\u00a3o com Eventos (Hook)<\/i> for more details about COMMAND. Possible Values: <b>\/path\/to\/command<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212on\u2212download\u2212start=<COMMAND><\/b><\/p>\n<p style=\"margin-left:22%;\">Set the command to be executed after download got started. See <i>Intera\u00c3\u00a7\u00c3\u00a3o com Eventos (Hook)<\/i> for more details about COMMAND. Possible Values: <b>\/path\/to\/command<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212on\u2212download\u2212stop=<COMMAND><\/b><\/p>\n<p style=\"margin-left:22%;\">Set the command to be executed after download stopped. You can override the command to be executed for particular download result using <i>\u2212\u2212on\u2212download\u2212complete<\/i> and <i>\u2212\u2212on\u2212download\u2212error<\/i>. If they are specified, command specified in this option is not executed. See <i>Intera\u00c3\u00a7\u00c3\u00a3o com Eventos (Hook)<\/i> for more details about COMMAND. Possible Values: <b>\/path\/to\/command<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212piece\u2212length=<LENGTH><\/b><\/p>\n<p style=\"margin-left:22%;\">Set a piece length for HTTP e FTP downloads. This is the boundary when aria2 splits a file. All splits occur at multiple of this length. This option will be ignored in BitTorrent downloads. It will be also ignored if Metalink file contains piece hashes. Padr\u00c3\u00a3o: <b>1M<\/b><\/p>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>NOTA:<\/b><\/p>\n<p style=\"margin-left:26%;\">The possible usecase of <i>\u2212\u2212piece\u2212length<\/i> option is change the request range in one HTTP pipelined request. To enable HTTP pipelining use <i>\u2212\u2212enable\u2212http\u2212pipelining<\/i>.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212show\u2212console\u2212readout [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Show console readout. Padr\u00c3\u00a3o: <b>true<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212summary\u2212interval=<SEGUNDOS><\/b><\/p>\n<p style=\"margin-left:22%;\">Set interval in seconds to output download progress summary. Setting <b>0<\/b> suppresses the output. Padr\u00c3\u00a3o: <b>60<\/b><\/p>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>NOTA:<\/b><\/p>\n<p style=\"margin-left:26%;\">In multi file torrent downloads, the files adjacent forward to the specified files are also allocated if they share the same piece.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212Z, \u2212\u2212force\u2212sequential [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Fetch URIs in the command\u2212line sequentially and download each URI in a separate session, like the usual command\u2212line download utilities. Padr\u00c3\u00a3o: <b>false<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212max\u2212overall\u2212download\u2212limit=<VELOCIDADE><\/b><\/p>\n<p style=\"margin-left:22%;\">Set max overall download speed in bytes\/sec. <b>0<\/b> means unrestricted. You can append <b>K<\/b> or <b>M<\/b> (1K = 1024, 1M = 1024K). To limit the download speed per download, use <i>\u2212\u2212max\u2212download\u2212limit<\/i> option. Padr\u00c3\u00a3o: <b>0<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212max\u2212download\u2212limit=<VELOCIDADE><\/b><\/p>\n<p style=\"margin-left:22%;\">Set max download speed per each download in bytes\/sec. <b>0<\/b> means unrestricted. You can append <b>K<\/b> or <b>M<\/b> (1K = 1024, 1M = 1024K). To limit the overall download speed, use <i>\u2212\u2212max\u2212overall\u2212download\u2212limit<\/i> option. Padr\u00c3\u00a3o: <b>0<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212no\u2212conf [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Disable loading aria2.conf file.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212no\u2212file\u2212allocation\u2212limit=<TAMANHO><\/b><\/p>\n<p style=\"margin-left:22%;\">No file allocation is made for files whose size is smaller than SIZE. You can append <b>K<\/b> or <b>M<\/b> (1K = 1024, 1M = 1024K). Padr\u00c3\u00a3o: <b>5M<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212P, \u2212\u2212parameterized\u2212uri [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Enable parameterized URI support. You can specify set of parts: <b>http:\/\/{sv1,sv2,sv3}\/foo.iso<\/b>. Also you can specify numeric sequences with step counter: <b>http:\/\/host\/image[000\u2212100:2].img<\/b>. A step counter can be omitted. If all URIs do not point to the same file, such as the second example above, \u2212Z option is required. Padr\u00c3\u00a3o: <b>false<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212q, \u2212\u2212quiet [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Make aria2 quiet (no console output). Padr\u00c3\u00a3o: <b>false<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212realtime\u2212chunk\u2212checksum [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Validate chunk of data by calculating checksum while downloading a file if chunk checksums are provided. Padr\u00c3\u00a3o: <b>true<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212remove\u2212control\u2212file [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Remove control file before download. Using with <i>\u2212\u2212allow\u2212overwrite=true,<\/i> download always starts from scratch. This will be useful for users behind proxy server which disables resume.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212save\u2212session=<ARQUIVO><\/b><\/p>\n<p style=\"margin-left:22%;\">Salvar downloads n\u00c3\u00a3o conclu\u00c3dos ou com erro, para um ARQUIVO quando sair. Pode ser informado o nome do arquivo para o aria2 com a op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212input\u2212file<\/i> no restart. Note que downloads adicionados pela fun\u00c3\u00a7\u00c3\u00a3o <i>aria2.addTorrent()<\/i> e pela fun\u00c3\u00a7\u00c3\u00a3o <i>aria2.addMetalink()<\/i> m\u00c3\u00a9todo RPC e seus respectivos metadados n\u00c3\u00a3o podem ser salvos. Downloads removidos usando a fun\u00c3\u00a7\u00c3\u00a3o <i>aria2.remove()<\/i> e <i>aria2.forceRemove()<\/i> n\u00c3\u00a3o ser\u00c3\u00a3o salvos.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212save\u2212session\u2212interval=<SEC><\/b><\/p>\n<p style=\"margin-left:22%;\">Save error\/unfinished downloads to a file specified by <i>\u2212\u2212save\u2212session<\/i> option every SEC seconds. If <b>0<\/b> is given, file will be saved only when aria2 exits. Default: <b>0<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212stop=<SEGUNDOS><\/b><\/p>\n<p style=\"margin-left:22%;\">Finaliza a aplica\u00c3\u00a7\u00c3\u00a3o ap\u00c3\u00b3s SEGUNDOS se passarem. Se <b>0<\/b> \u00c3\u00a9 informado, essa funcionalidade \u00c3\u00a9 desabilitada. Padr\u00c3\u00a3o: <b>0<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212stop\u2212with\u2212process=<PID><\/b><\/p>\n<p style=\"margin-left:22%;\">Finaliza a aplica\u00c3\u00a7\u00c3\u00a3o quando o processo de n\u00c3\u00bamero PID n\u00c3\u00a3o estiver executando. Isso \u00c3\u00a9 \u00c3\u00batil se o processo aria2 foi derivado de um processo precursor. O processo precursor pode ter criado o processo aria2 com seu pr\u00c3\u00b3prio pid e quando o processo precursor terminar por alguma raz\u00c3\u00a3o, aria2 pode detectar por ele mesmo, essa situa\u00c3\u00a7\u00c3\u00a3o e executar ele mesmo o shutdown. Este recurso evita que um processo gere subprocessos que ficam no limbo.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212truncate\u2212console\u2212readout [true|false]<\/b><\/p>\n<p style=\"margin-left:22%;\">Truncar a linha da console para ajustar\u2212se a uma linha. Padr\u00c3\u00a3o: <b>true<\/b><\/p>\n<p style=\"margin-left:11%;\"><b>\u2212v, \u2212\u2212version<\/b><\/p>\n<p style=\"margin-left:22%;\">Exibe o n\u00c3\u00bamero da vers\u00c3\u00a3o, copyright e informa\u00c3\u00a7\u00c3\u00a3o da configura\u00c3\u00a7\u00c3\u00a3o e sai.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Argumento(s) Opcional(is)<\/b> <br \/> As op\u00c3\u00a7\u00c3\u00b5es que possuem seus argumentos delimitados por colchetes ([]), s\u00c3\u00a3o opcionais. Normalmente omitindo o argumento, ele ser\u00c3\u00a1 assumido como <b>true<\/b> (verdadeiro). Se for usada a forma abreviada dessas op\u00c3\u00a7\u00c3\u00b5es (como em <b>\u2212V<\/b>) e informado um argumento, est\u00c3\u00a3o o nome da op\u00c3\u00a7\u00c3\u00a3o e seu argumento devem ser concatenados, por exemplo: (<b>\u2212Vfalse<\/b>). Se houver espa\u00c3\u00a7os entre a op\u00c3\u00a7\u00c3\u00a3o e o argumento o argumento ser\u00c3\u00a1 tratado como URI e normalmente n\u00c3\u00a3o \u00c3\u00a9 isto o esperado.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Unidades (K and M)<\/b> <br \/> Algumas op\u00c3\u00a7\u00c3\u00b5es usam <b>K<\/b> e <b>M<\/b> para convenientemente representar 1.024 e 1.048.576 respectivamente. aria2 detecta estas caracteres de maneira transparente (mai\u00c3\u00basculas e min\u00c3\u00basculas), portanto podem ser usados <i>k`<\/i> ou <b>K<\/b> e <b>m<\/b> ou <b>M<\/b>.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>URI, MAGNET, TORRENT_FILE, METALINK_FILE<\/b> <br \/> Podemos especificar m\u00c3\u00baltiplas URIs em uma linha de comando. A menos que seja especificada a op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212force\u2212sequential<\/i>, todas as URIs devem apontar para o mesmo arquivo que ser\u00c3\u00a1 baixado ou o download falhar\u00c3\u00a1.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Pode\u2212se especificar um n\u00c3\u00bamero arbitr\u00c3\u00a1tio de URIs de BitTorrent Magnet URI. Nove que eles sempre ser\u00c3\u00a3o tratados como downloads separados. S\u00c3\u00a3o suportados Hash de Info de 40 characters e Hast de Info Base32 de 32 characters. M\u00c3\u00baltiplos par\u00c3\u00a2metros <b>tr<\/b> s\u00c3\u00a3o suportados. Devido a URI BitTorrent Magnet poder conter o caracter <b>&#038;<\/b>, \u00c3\u00a9 altamente recomend\u00c3\u00a1vel delimitar a URI com ap\u00c3\u00b3strofo single(<b>&#8216;<\/b>) ou aspas double(<b>&#8220;<\/b>). \u00c3 altamente recomend\u00c3\u00a1vel habilitar DHT especialmente quando <b>tr<\/b> o par\u00c3\u00a2metro estiver ausente. Ver <i>http:\/\/www.bittorrent.org\/beps\/bep_0009.html<\/i> para maiores detalhes sobre URI BitTorrent Magnet.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Pode\u2212se tamb\u00c3\u00a9m especificar um n\u00c3\u00bamero arbitr\u00c3\u00a1rio de arquivos torrent e Documentos Metalink armazenados em um dispositivo local. Note que sempre ser\u00c3\u00a3o tratados como download distintos. Tanto Metalink4 quanto Metalink da vers\u00c3\u00a3o 3 s\u00c3\u00a3o suportados.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Pode\u2212se especificar arquivo torrent usando a op\u00c3\u00a7\u00c3\u00a3o \u2212T e URI. Fazendo isso o download ser\u00c3\u00a1 baixado do servidor swarm e HTTP, HTTPS e FTP ao mesmo tempo, enquanto os dados do HTTP, HTTPS e FTP ser\u00c3\u00a3o uploaded para o swarm torrent. Para torrent de um arquivo a URI deve ser completa e apontar inclusive o recurso ou se a URI terminar com \/ o nome do torrent ser\u00c3\u00a1 adicionado. Para m\u00c3\u00baltiplos torrents, name e caminho ser\u00c3\u00a3o adicionados para formar a URI, para cada um dos arquivos.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>NOTA:<\/b><\/p>\n<p style=\"margin-left:15%;\">Certifique\u2212se que a URI seja delimitada por ap\u00c3\u00b3strofo single(<b>&#8216;<\/b>) ou aspas double(<b>&#8220;<\/b>) se a URI contiver <b>&#038;<\/b> ou qualquer outro caracter que tenha significado especial para o shell.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Continuar Download Interrompido<\/b> <br \/> Normalmente pode\u2212se retomar uma transfer\u00c3\u00aancia apenas executando\u2212se o comando aria2c URI, caso a transfer\u00c3\u00aancia anterior estava sendo feita pelo aria2.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Caso a transfer\u00c3\u00aancia anterior estava sendo feita por um navegador ou wget de maneira sequencial, ent\u00c3\u00a3o utilize a op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212continue<\/i> para retomar do ponto onde foi interrompida a transfer\u00c3\u00aancia.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Intera\u00c3\u00a7\u00c3\u00a3o com Eventos (Hook)<\/b> <br \/> aria2 possui op\u00c3\u00a7\u00c3\u00b5es para especificar comando arbitr\u00c3\u00a1rio ap\u00c3\u00b3s um evento espec\u00c3fico ocorrer. Atualmente as seguintes op\u00c3\u00a7\u00c3\u00b5es est\u00c3\u00a3o dispon\u00c3veis:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>\u2212\u2212on\u2212bt\u2212download\u2212complete<\/i>, <i>\u2212\u2212on\u2212download\u2212pause<\/i>, <i>\u2212\u2212on\u2212download\u2212complete<\/i>. <i>\u2212\u2212on\u2212download\u2212start<\/i>, <i>\u2212\u2212on\u2212download\u2212error<\/i>, <i>\u2212\u2212on\u2212download\u2212stop<\/i>.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">aria2 passa 3 argumentos para um comando especificado quando este comando for executado. Estes argumentos s\u00c3\u00a3o: GID, o n\u00c3\u00bamero de arquivos e o caminho dos arquivos. Para downloads HTTP, HTTPS e FTP normalmente o n\u00c3\u00bamero de arquivos \u00c3\u00a9 1. BitTorrent podem conter m\u00c3\u00baltiplos arquivos. Se o n\u00c3\u00bamero de arquivos \u00c3\u00a9 maior que 1, o caminho do arquivo \u00c3\u00a9 o primeiro. Em outras palavras, este \u00c3\u00a9 o valor da chave path da primeira estrutura se aquela chave for verdadeira como resposta do m\u00c3\u00a9todo da fun\u00c3\u00a7\u00c3\u00a3o <i>aria2.getFiles()<\/i> RPC. Se for necess\u00c3\u00a1rio todos os caminhos dos arquivos, considere usar o m\u00c3\u00a9todo JSON\u2212RPC\/XML\u2212RPC. Lembre\u2212se que o caminho do arquivo pode ser modificado durante o download no HTTP por causa do redirecionamento ou Disposi\u00c3\u00a7\u00c3\u00a3o do Conte\u00c3\u00bado do Cabe\u00c3\u00a7alho.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Observemos um exemplo de como s\u00c3\u00a3o passados argumentos para um comando:<\/p>\n<pre style=\"margin-left:15%; margin-top: 1em\">$ cat hook.sh #!\/bin\/sh echo \"chamado com [$1] [$2] [$3]\" $ aria2c \u2212\u2212on\u2212download\u2212complete hook.sh http:\/\/dobrasil.org\/arquivo.iso chamado com [1] [1] [\/caminho\/para\/arquivo.iso]<\/pre>\n<h2>C\u00c3DIGO DE RETORNO OU SA\u00c3DA <a name=\"C\u00c3DIGO DE RETORNO OU SA\u00c3DA\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Como aria2 pode manipular m\u00c3\u00baltiplos downloads concomitantemente, podem ser encontrados v\u00c3\u00a1rios erros durante uma sess\u00c3\u00a3o. aria2 retorna os c\u00c3\u00b3digos de retorno ou sa\u00c3da com base no \u00c3\u00baltimo erro encontrado.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p><b>0<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"78%\">\n<p>Se todos os downloads terminam com sucesso.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p><b>1<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"78%\">\n<p>Erro desconhecido ocorreu.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p><b>2<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"78%\">\n<p>Tempo transcorrido (time out).<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p><b>3<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"78%\">\n<p>Recurso n\u00c3\u00a3o encontrado.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p><b>4<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"78%\">\n<p>Se aria2 tentou um n\u00c3\u00bamero especificado de vezes e obteve &#8220;recurso n\u00c3\u00a3o encontrado&#8221;. Ver op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212max\u2212file\u2212not\u2212found<\/i>.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p><b>5<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"78%\">\n<p>Se download interrompido porque a velocidade de download \u00c3\u00a9 muito baixa. Ver op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212lowest\u2212speed\u2212limit<\/i><\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p><b>6<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"78%\">\n<p>Erro na rede (network).<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p><b>7<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"78%\">\n<p>Se existem downloads n\u00c3\u00a3o concluidos. Esse erro \u00c3\u00a9 reportado somente se todos os downloads foram conclu\u00c3dos com sucesso mas existe uma fila quando aria2 foi interrompido por quando foi pressionado <b>Ctrl\u2212C<\/b> pelo usu\u00c3\u00a1rio ou enviado o sinal TERM ou INT.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p><b>8<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"78%\">\n<p>Se o servidor remoto n\u00c3\u00a3o suporta retomar um download que deve ser completado.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p><b>9<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"78%\">\n<p>N\u00c3\u00a3o h\u00c3\u00a1 espa\u00c3\u00a7o em disco suficiente para os downloads.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p><b>10<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"78%\">\n<p>Se o tamanho do peda\u00c3\u00a7o (piece) foi diferente do arquivo de controle .aria2. Ver op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212allow\u2212piece\u2212length\u2212change<\/i>.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p><b>11<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"78%\">\n<p>Se aria2 estava fazendo o download do mesmo arquivo no momento.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p><b>12<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"78%\">\n<p>If aria2 estava fazendo o download do mesmo, hash do torrent, no momento.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p><b>13<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"78%\">\n<p>Se o arquivo j\u00c3\u00a1 existe. Ver op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212allow\u2212overwrite<\/i>.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p><b>14<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"78%\">\n<p>Se renomer o arquivo falhou. Ver op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212auto\u2212file\u2212renaming<\/i>.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p><b>15<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"78%\">\n<p>Se aria2 n\u00c3\u00a3o pode abrir o arquivo existente.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p><b>16<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"78%\">\n<p>Se aria2 n\u00c3\u00a3o pode criar novo arquivo ou truncar um arquivo j\u00c3\u00a1 existente.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p><b>17<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"78%\">\n<p>Se ocorreu erro de I\/O no arquivo.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p><b>18<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"78%\">\n<p>Se aria2 n\u00c3\u00a3o pode criar diret\u00c3\u00b3rio.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p><b>19<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"78%\">\n<p>Se resolu\u00c3\u00a7\u00c3\u00a3o de nomes falhou.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p><b>20<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"78%\">\n<p>Se aria2 n\u00c3\u00a3o pode passar documento Metalink.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p><b>21<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"78%\">\n<p>Se comando FTP falhou.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p><b>22<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"78%\">\n<p>Se cabe\u00c3\u00a7alho de resposta HTTP est\u00c3\u00a1 errado ou inesperado.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p><b>23<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"78%\">\n<p>Se muitos redirecionamentos ocorreram.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p><b>24<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"78%\">\n<p>Se autoriza\u00c3\u00a7\u00c3\u00a3o HTTP falhou.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p><b>25<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"78%\">\n<p>Se aria2 n\u00c3\u00a3o pode passar arquivo bencoded file (normalmente arq. &#8220;.torrent&#8221;).<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p><b>26<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"78%\">\n<p>Se arquivo &#8220;.torrent&#8221; estava corrompido ou inexistem informa\u00c3\u00a7\u00c3\u00b5es que aria2 necessita.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p><b>27<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"78%\">\n<p>Se URI Magnet URI est\u00c3\u00a1 errada.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p><b>28<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"78%\">\n<p>Se op\u00c3\u00a7\u00c3\u00a3o est\u00c3\u00a1 errada ou n\u00c3\u00a3o \u00c3\u00a9 reconhecida ou argumento inv\u00c3\u00a1lido de uma op\u00c3\u00a7\u00c3\u00a3o foi informado.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p><b>29<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"78%\">\n<p>Se o servidor remoto n\u00c3\u00a3o pode manusear uma requisi\u00c3\u00a7\u00c3\u00a3o devido a sobrecarga tempor\u00c3\u00a1ria ou manuten\u00c3\u00a7\u00c3\u00a3o.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p><b>30<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"78%\">\n<p>Se aria2 n\u00c3\u00a3o pode passar uma requisi\u00c3\u00a7\u00c3\u00a3o JSON\u2212RPC.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>NOTA:<\/b><\/p>\n<p style=\"margin-left:15%;\">Um erro ocorrido em um download completado n\u00c3\u00a3o ser\u00c3\u00a1 reportado como um status de saida nem como c\u00c3\u00b3digo de retorno (exit status).<\/p>\n<h2>VARI\u00c3VEIS DE AMBIENTE <a name=\"VARI\u00c3VEIS DE AMBIENTE\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">aria2 reconhece as seguintes vari\u00c3\u00a1veis de ambiente. <b><br \/> http_proxy [http:\/\/][USU\u00c3RIO:SENHA@]SERVIDOR[:PORTA]<\/b><\/p>\n<p style=\"margin-left:22%;\">Especifica o servidor para uso do HTTP. Sobrep\u00c3\u00b5e o valor do http\u2212proxy do arquivo de configura\u00c3\u00a7\u00c3\u00a3o. A op\u00c3\u00a7\u00c3\u00a3o linha de comando <i>\u2212\u2212http\u2212proxy<\/i> sobrep\u00c3\u00b5e este valor.<\/p>\n<p style=\"margin-left:11%;\"><b>https_proxy [http:\/\/][USU\u00c3RIO:SENHA@]SERVIDOR[:PORTA]<\/b><\/p>\n<p style=\"margin-left:22%;\">Especifica o servidor proxy para uso do HTTPS. Sobrep\u00c3\u00b5e o valor do https\u2212proxy do arquivo de configura\u00c3\u00a7\u00c3\u00a3o. A op\u00c3\u00a7\u00c3\u00a3o linha de comando <i>\u2212\u2212https\u2212proxy<\/i> sobrep\u00c3\u00b5e este valor.<\/p>\n<p style=\"margin-left:11%;\"><b>ftp_proxy [http:\/\/][USU\u00c3RIO:SENHA@]SERVIDOR[:PORTA]<\/b><\/p>\n<p style=\"margin-left:22%;\">Especifica o servidor proxy para uso do FTP. Sobrep\u00c3\u00b5e o valor do http\u2212proxy do arquivo de configura\u00c3\u00a7\u00c3\u00a3o. A op\u00c3\u00a7\u00c3\u00a3o linha de comando <i>\u2212\u2212ftp\u2212proxy<\/i> sobrep\u00c3\u00b5e este valor.<\/p>\n<p style=\"margin-left:11%;\"><b>all_proxy [http:\/\/][USU\u00c3RIO:SENHA@]SERVIDOR[:PORTA]<\/b><\/p>\n<p style=\"margin-left:22%;\">Especifica o servidor proxy para uso se nenhum protocolo\u2212espec\u00c3- fico de proxy \u00c3\u00a9 informado. Sobrep\u00c3\u00b5e o valor all\u2212proxy do arquivo de configura\u00c3\u00a7\u00c3\u00a3o. A op\u00c3\u00a7\u00c3\u00a3o linha de comando <i>\u2212\u2212all\u2212proxy<\/i> sobrep\u00c3\u00b5e este valor.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>NOTA:<\/b><\/p>\n<p style=\"margin-left:15%;\">Apesar de aria2 aceitar os esquemas <b>ftp:\/\/<\/b> e <b>https:\/\/<\/b> para proxy de URI, aria2 assume que <b>http:\/\/<\/b> \u00c3\u00a9 especificado e n\u00c3\u00a3o troca o comportamento com base no esquema especificado.<\/p>\n<p style=\"margin-left:11%;\"><b>no_proxy [DOM\u00c3NIO,&#8230;]<\/b><\/p>\n<p style=\"margin-left:22%;\">Especifica nome de servidores, separados por v\u00c3rgula, dom\u00c3nios e endere\u00c3\u00a7os de rede com ou sem blocos CIDR para os quais n\u00c3\u00a3o ser\u00c3\u00a1 usado proxy. Sobrep\u00c3\u00b5e o valor no\u2212proxy do arquivo de configura\u00c3\u00a7\u00c3\u00a3o. A op\u00c3\u00a7\u00c3\u00a3o linha de comando <i>\u2212\u2212no\u2212proxy<\/i> sobrep\u00c3\u00b5e este valor.<\/p>\n<h2>ARQUIVOS DE CONFIGURA\u00c3\u00c3O <a name=\"ARQUIVOS DE CONFIGURA\u00c3\u00c3O\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>aria2.conf<\/b> <br \/> Por padr\u00c3\u00a3o, aria2 utiliza <b>$HOME\/.aria2\/aria2.conf<\/b> como arquivo de configura\u00c3\u00a7\u00c3\u00a3o. Pode ser especificado o caminho do arquivo usando\u2212se a op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212conf\u2212path<\/i>. Se n\u00c3\u00a3o desejar usar a configura\u00c3\u00a7\u00c3\u00a3o de arquivo utilize a op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212no\u2212conf<\/i>.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">O arquivo de configura\u00c3\u00a7\u00c3\u00a3o \u00c3\u00a9 um arquivo texto e possui uma op\u00c3\u00a7\u00c3\u00a3o por linha. Em cada linha, deve haver um par (nome\u2212valor), no formato: <b>NOME=VALOR<\/b>, onde nome \u00c3\u00a9 o nome longo da linha de comando sem o prefixo <b>\u2212\u2212<\/b>. Pode ser usada a mesma sintaxe da op\u00c3\u00a7\u00c3\u00a3o da linha de comando. Linhas que come\u00c3\u00a7am com <b>#<\/b> s\u00c3\u00a3o tratados como coment\u00c3\u00a1rios:<\/p>\n<pre style=\"margin-left:15%; margin-top: 1em\"># arquivo de simples configura\u00c3\u00a7\u00c3\u00a3o para aria2c listen\u2212port=60000 dht\u2212listen\u2212port=60000 seed\u2212ratio=1.0 max\u2212upload\u2212limit=50K ftp\u2212pasv=true<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>NOTA:<\/b><\/p>\n<p style=\"margin-left:15%;\">Informa\u00c3\u00a7\u00c3\u00b5es confidenciais como usu\u00c3\u00a1rio\/senha podem ser inclu\u00c3das no arquivo de configura\u00c3\u00a7\u00c3\u00a3o, mas recomenda\u2212se trocar os bits de seu modo de acesso (por exemplo: <b>chmod 600 aria2.conf<\/b>), dessa maneira nenhum outro usu\u00c3\u00a1rio consegue ver o conte\u00c3\u00bado desse arquivo de configura\u00c3\u00a7\u00c3\u00a3o.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>dht.dat<\/b> <br \/> Por padr\u00c3\u00a3o, a tabela de rota do IPv4 DHT est\u00c3\u00a1 em <b>$HOME\/.aria2\/dht.dat<\/b> e a tabela de rota do IPv6 DHT est\u00c3\u00a1 em <b>$HOME\/.aria2\/dht6.dat<\/b>.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Netrc<\/b> <br \/> Por padr\u00c3\u00a3o, o suporte a Netrc est\u00c3\u00a1 habilitado para HTTP, HTTPS e FTP. Para desabilitar o suporte a netrc especificar <i>\u2212\u2212no\u2212netrc<\/i>. Seu arquivo .netrc precisa ter as permiss\u00c3\u00b5es corretas (600).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Se o nome do servidor inicia com <b>.<\/b>, aria2 executa pesquisa dom\u00c3nio ao inv\u00c3\u00a9s de pesquisa exata. Isto \u00c3\u00a9 uma extens\u00c3\u00a3o de aria2. Exemplo de pesquisa de dom\u00c3nio, imagine as seguinte entrada no arquivo .netrc:<\/p>\n<pre style=\"margin-left:15%; margin-top: 1em\">machine .dobrasil.org login meuid password minhasenha<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>aria2.dobrasil.org<\/b> pesquisa dom\u00c3nio <b>.dobrasil.org<\/b> e usa <b>meuid<\/b> e <b>minhasenha<\/b>.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Mais exemplos de pesquisa dom\u00c3nio: <b>nobrasil.net<\/b> n\u00c3\u00a3o executa pesquisa dom\u00c3nio <b>.nobrasil.net<\/b>. <b>dobrasil.org<\/b> n\u00c3\u00a3o faz pesquisa dom\u00c3nio <b>.dobrasil.org<\/b> pois tem maior amplitude hier\u00c3\u00a1rquica por causa do ponto precedente <b>.<\/b>. Se desejar utilizar <b>dobrasil.org<\/b>, especificar <b>dobrasil.org<\/b>.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Arquivo de Controle<\/b> <br \/> aria2 utiliza um arquivo de controle para rastrear o progresso de um download. Este arquivo \u00c3\u00a9 gravado no mesmo diret\u00c3\u00b3rio do arquivo que est\u00c3\u00a1 sendo baixado e possui o sufixo <b>.aria2<\/b>. Por exemplo,se est\u00c3\u00a1 baixando arquivo.zip, ent\u00c3\u00a3o o arquivo de controle ser\u00c3\u00a1 arquivo.zip.aria2. (Existe apenas uma exce\u00c3\u00a7\u00c3\u00a3o para essa conven\u00c3\u00a7\u00c3\u00a3o que \u00c3\u00a9 quando voc\u00c3\u00aa est\u00c3\u00a1 baixando um multi torrent, o arquivo de controle estar\u00c3\u00a1 no &#8220;diret\u00c3\u00b3rio topo&#8221; do torrent com o sufixo <b>.aria2<\/b>. O nome do &#8220;diret\u00c3\u00b3rio topo&#8221; \u00c3\u00a9 o valor da chave &#8220;name&#8221; no diret\u00c3\u00b3rio &#8220;info&#8221; do arquivo torrent).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Normalmente um arquivo controle \u00c3\u00a9 apagado quando o download se completa. Se aria2 detecta que o download n\u00c3\u00a3o pode ser retomado (por exemplo, quando faz download de um servidor HTTP que n\u00c3\u00a3o suporta retomar o processamento de um ponto mas sempre do in\u00c3cio), o arquivo de controle n\u00c3\u00a3o ser\u00c3\u00a1 criado.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Se voc\u00c3\u00aa perder o arquivo de controle, n\u00c3\u00a3o ser\u00c3\u00a1 possivel retomar o download do ponto onde estava. Mas se h\u00c3\u00a1 um torrent ou metalink com checksum (verifica\u00c3\u00a7\u00c3\u00a3o) do arquivo, poder\u00c3\u00a1 ser retomado do \u00c3\u00baltimo ponto especificando a op\u00c3\u00a7\u00c3\u00a3o \u2212V na linha de comando.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Arquivo de Entrada<\/b> <br \/> O arquivo de entrada pode conter uma lista de URIs para que o aria2 efetua download. Podem ser especificados m\u00c3\u00baltiplas URIs para cada simples entidade: separar as entidades por um caracter TAB ou espa\u00c3\u00a7o.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Cada linha \u00c3\u00a9 tratada como se fosse especificada atrav\u00c3\u00a9s de um argumento da linha de comando. Entretando estas linhas s\u00c3\u00a3o afetadas pela op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212force\u2212sequential<\/i> e pela op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212parameterized\u2212uri<\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Quando as URIs do arquivo de entrada s\u00c3\u00a3o diretamente lidas pelo aria2, as URIs n\u00c3\u00a3o precisam necess\u00c3\u00a1riamente estarem delimitadas por ap\u00c3\u00b3strofo (<b>&#8216;<\/b>) nem aspas(<b>&#8220;<\/b>).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Linhas que come\u00c3\u00a7am com <b>#<\/b> s\u00c3\u00a3o tratadas como coment\u00c3\u00a1rio e desprezadas.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Adicionalmente, as seguintes op\u00c3\u00a7\u00c3\u00b5es podem ser especificadas ap\u00c3\u00b3s cada linha de URI. Estas linhas opcionais precisam iniciar com um ou mais espa\u00c3\u00a7os.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>all\u2212proxy<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>all\u2212proxy\u2212passwd<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>all\u2212proxy\u2212user<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>allow\u2212overwrite<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>allow\u2212piece\u2212length\u2212change<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>always\u2212resume<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>async\u2212dns<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>auto\u2212file\u2212renaming<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>bt\u2212enable\u2212lpd<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>bt\u2212exclude\u2212tracker<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>bt\u2212external\u2212ip<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>bt\u2212hash\u2212check\u2212seed<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>bt\u2212max\u2212open\u2212files<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>bt\u2212max\u2212peers<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>bt\u2212metadata\u2212only<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>bt\u2212min\u2212crypto\u2212level<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>bt\u2212prioritize\u2212piece<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>bt\u2212remove\u2212unselected\u2212file<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>bt\u2212request\u2212peer\u2212speed\u2212limit<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>bt\u2212require\u2212crypto<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>bt\u2212save\u2212metadata<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>bt\u2212seed\u2212unverified<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>bt\u2212stop\u2212timeout<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>bt\u2212tracker<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>bt\u2212tracker\u2212connect\u2212timeout<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>bt\u2212tracker\u2212interval<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>bt\u2212tracker\u2212timeout<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>check\u2212integrity<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>checksum<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>conditional\u2212get<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>connect\u2212timeout<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>continue<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>dir<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>dry\u2212run<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>enable\u2212async\u2212dns6<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>enable\u2212http\u2212keep\u2212alive<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>enable\u2212http\u2212pipelining<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>enable\u2212mmap<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>enable\u2212peer\u2212exchange<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>file\u2212allocation<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>follow\u2212metalink<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>follow\u2212torrent<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>force\u2212save<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>ftp\u2212passwd<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>ftp\u2212pasv<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>ftp\u2212proxy<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>ftp\u2212proxy\u2212passwd<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>ftp\u2212proxy\u2212user<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>ftp\u2212reuse\u2212connection<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>ftp\u2212type<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>ftp\u2212user<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>hash\u2212check\u2212only<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>header<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>http\u2212accept\u2212gzip<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>http\u2212auth\u2212challenge<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>http\u2212no\u2212cache<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>http\u2212passwd<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>http\u2212proxy<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>http\u2212proxy\u2212passwd<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>http\u2212proxy\u2212user<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>http\u2212user<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>https\u2212proxy<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>https\u2212proxy\u2212passwd<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>https\u2212proxy\u2212user<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>index\u2212out<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>lowest\u2212speed\u2212limit<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>max\u2212connection\u2212per\u2212server<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>max\u2212download\u2212limit<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>max\u2212file\u2212not\u2212found<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>max\u2212resume\u2212failure\u2212tries<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>max\u2212tries<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>max\u2212upload\u2212limit<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>metalink\u2212base\u2212uri<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>metalink\u2212enable\u2212unique\u2212protocol<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>metalink\u2212language<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>metalink\u2212location<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>metalink\u2212os<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>metalink\u2212preferred\u2212protocol<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>metalink\u2212version<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>min\u2212split\u2212size<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>no\u2212file\u2212allocation\u2212limit<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>no\u2212netrc<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>no\u2212proxy<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>out<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>parameterized\u2212uri<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>pause<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>piece\u2212length<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>proxy\u2212method<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>realtime\u2212chunk\u2212checksum<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>referer<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>remote\u2212time<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>remove\u2212control\u2212file<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>retry\u2212wait<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>reuse\u2212uri<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>rpc\u2212save\u2212upload\u2212metadata<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>seed\u2212ratio<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>seed\u2212time<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>select\u2212file<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>split<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>stream\u2212piece\u2212selector<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>timeout<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>uri\u2212selector<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>use\u2212head<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"14%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"48%\">\n<p><i>user\u2212agent<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%; margin-top: 1em\">Estas op\u00c3\u00a7\u00c3\u00b5es possuem exatamente o mesmo significado das op\u00c3\u00a7\u00c3\u00b5es existentes na linha de comando, mas aplicam\u2212se apenas a URI a que pertencem. Por favor perceba que dentro de um arquivo, elas n\u00c3\u00a3o ter\u00c3\u00a3o o prefixo <b>\u2212\u2212<\/b>.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Por exemplo, o conte\u00c3\u00bado do arquivo de entrada uri.txt \u00c3\u00a9:<\/p>\n<pre style=\"margin-left:15%; margin-top: 1em\">http:\/\/servidor\/arquivo.iso http:\/\/espelho\/arquivo.iso dir=\/imagens_iso out=arquivo.img http:\/\/fu\/ba<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\">Se aria2 \u00c3\u00a9 executado com as op\u00c3\u00a7\u00c3\u00b5es <b>\u2212i uri.txt \u2212d \/tmp<\/b>, ent\u00c3\u00a3o o <b>arquivo.iso<\/b> ser\u00c3\u00a1 salvo como <b>\/imagens_iso\/arquivo.img<\/b> e ser\u00c3\u00a1 baixado dos servidores <b>http:\/\/servidor\/arquivo.iso<\/b> e <b>http:\/\/espelho\/arquivo.iso<\/b>. O arquivo <b>ba<\/b> e baixado de <b>http:\/\/fu\/ba<\/b> e salvo como <b>\/tmp\/ba<\/b>.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Em alguns casos, o par\u00c3\u00a2metro <i>out<\/i> n\u00c3\u00a3o tem efeito. Ver nota da op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212out<\/i> para entender as restri\u00c3\u00a7\u00c3\u00b5es.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Perfil Performance Servidor<\/b> <br \/> Esta se\u00c3\u00a7\u00c3\u00a3o descreve o formato do perfil de performance do servidor, composto por um arquivo de texto plano com cada linha contendo um par <b>NOME=VALOR<\/b>, delimitados por virgula. Atualmente esta \u00c3\u00a9 a lista de nomes reconhecidos:<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"6%\">\n<p style=\"margin-top: 1em\"><b>host<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"43%\">\n<p style=\"margin-top: 1em\">Nome do servidor. Requerido.<\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>protocol<\/b><\/p>\n<p style=\"margin-left:22%;\">Protocolo para este perfil, como ftp, http, https. http \u00c3\u00a9 requerido.<\/p>\n<p style=\"margin-left:11%;\"><b>dl_speed<\/b><\/p>\n<p style=\"margin-left:22%;\">Velocidade m\u00c3\u00a9dia de download observada no download pr\u00c3\u00a9vio, em bytes por segundo. Requerido.<\/p>\n<p style=\"margin-left:11%;\"><b>sc_avg_speed<\/b><\/p>\n<p style=\"margin-left:22%;\">The average download speed observed in the previous download in bytes per sec. This value is only updated if the download is done in single connection environment and only used by AdaptiveURISelector. Optional.<\/p>\n<p style=\"margin-left:11%;\"><b>mc_avg_speed<\/b><\/p>\n<p style=\"margin-left:22%;\">The average download speed observed in the previous download in bytes per sec. This value is only updated if the download is done in multi connection environment and only used by AdaptiveURISelector. Optional.<\/p>\n<p style=\"margin-left:11%;\"><b>counter<\/b><\/p>\n<p style=\"margin-left:22%;\">How many times the server is used. Currently this value is only used by AdaptiveURISelector. Optional.<\/p>\n<p style=\"margin-left:11%;\"><b>last_updated<\/b><\/p>\n<p style=\"margin-left:22%;\">Last contact time in GMT with this server, specified in the seconds since the Epoch(00:00:00 on January 1, 1970, UTC). Required.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"9%\">\n<p><b>status<\/b><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"78%\">\n<p>ERROR is set when server cannot be reached or out\u2212of\u2212service or timeout occurred. Otherwise, OK is set.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%; margin-top: 1em\">Estes campos devem existir em uma linha. A ordem dos campos n\u00c3\u00a3o importa. Podem ser colocados pares; eles ser\u00c3\u00a3o simplesmente ignorados.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Um exemplo abaixo:<\/p>\n<pre style=\"margin-left:15%; margin-top: 1em\">host=localhost, protocol=http, dl_speed=32000, last_updated=1222491640, status=OK host=localhost, protocol=ftp, dl_speed=0, last_updated=1222491632, status=ERROR<\/pre>\n<h2>INTERFACE RPC <a name=\"INTERFACE RPC\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">aria2 prov\u00c3\u00aa o servi\u00c3\u00a7o JSON\u2212RPC sobre HTTP e XML\u2212RPC sobre HTTP e eles basicamente possuem a mesma funcionalidade. aria2 tamb\u00c3\u00a9m prov\u00c3\u00aa JSON\u2212RPC sobre WebSocket que utiliza o mesmo formato, do m\u00c3\u00a9todo e assinatura e de resposta do formato JSON\u2212RPC sobre HTTP, mas adicionalmente possui notifica\u00c3\u00a7\u00c3\u00b5es iniciadas pelo servidor. Ver detalhes na se\u00c3\u00a7\u00c3\u00a3o <i>JSON\u2212RPC sobre WebSocket<\/i> .<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">O caminho requisitado do interface JSON\u2212RPC (sobre HTTP e sobre WebSocket) \u00c3\u00a9 <b>\/jsonrpc<\/b>. O caminho requisitado do interface XML\u2212RPC \u00c3\u00a9 <b>\/rpc<\/b>.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">A URI WebSocket para JSON\u2212RPC sobre WebSocket \u00c3\u00a9 <b>ws:\/\/HOST:PORT\/jsonrpc<\/b>.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">A implementa\u00c3\u00a7\u00c3\u00a3o JSON\u2212RPC \u00c3\u00a9 baseada na especifica\u00c3\u00a7\u00c3\u00a3o <b>JSON\u2212RPC 2.0 <http:\/\/jsonrpc.org\/specification><\/b> e suporta HTTP POST e GET (JSONP). Usando WebSocket como transporte, \u00c3\u00a9 uma extens\u00c3\u00a3o original do aria2.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">A interface JSON\u2212RPC n\u00c3\u00a3o suporta notifica\u00c3\u00a7\u00c3\u00a3o em HTTP, mas o servidor RPC ir\u00c3\u00a1 enviar a notifica\u00c3\u00a7\u00c3\u00a3o no WebSocket. N\u00c3\u00a3o \u00c3\u00a9 suportado n\u00c3\u00bamero de ponto flutuante O codifica\u00c3\u00a7\u00c3\u00a3o de p\u00c3\u00a1gina deve ser UTF\u22128.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Quanto a seguinte documenta\u00c3\u00a7\u00c3\u00a3o do JSON\u2212RPC, entenda estrutura JSON como objeto.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Terminologia<\/b><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"4%\">\n<p style=\"margin-top: 1em\"><b>GID<\/b><\/p>\n<\/td>\n<td width=\"7%\"><\/td>\n<td width=\"78%\">\n<p style=\"margin-top: 1em\">GID(or gid) \u00c3\u00a9 a chave para gerenciar cada download. Cada download tem um \u00c3\u00banico GID. Atualmente GID \u00c3\u00a9 armazenado em 64 bits como dado bin\u00c3\u00a1rio no aria2. Para acesso RPG, isso \u00c3\u00a9 representado em uma string hexadecimal de 16 caracteres (exemplo: <b>2089b05ecca3d829<\/b>). Normalmente, aria2 gera esse GID para cada download, mas o usu\u00c3\u00a1rio pode especificar o GID manualmente usando a op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212gid<\/i>. Quando consultando um download por GID, pode ser especificado o prefixo do GID como um prefixo \u00c3\u00banico e exclusivo entre outros.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>M\u00c3\u00a9todos<\/b> <br \/> S\u00c3\u00a3o descritos em torno de 35 exemplos, os quais ser\u00c3\u00a3o numerados utilizando c\u00c3\u00b3digo fonte com exemplos que usam a linguagem Python vers\u00c3\u00a3o 2.7. <b><br \/> aria2.addUri(uris[, options[, position]])<\/b><\/p>\n<p style=\"margin-left:22%;\">This method adds new HTTP(S)\/FTP\/BitTorrent Magnet URI. <i>uris<\/i> is of type array and its element is URI which is of type string. For BitTorrent Magnet URI, <i>uris<\/i> must have only one element and it should be BitTorrent Magnet URI. URIs in <i>uris<\/i> must point to the same file. If you mix other URIs which point to another file, aria2 does not complain but download may fail. <i>options<\/i> is of type struct and its members are a pair of option name and value. See <i>Op\u00c3\u00a7\u00c3\u00b5es<\/i> below for more details. If <i>position<\/i> is given as an integer starting from 0, the new download is inserted at <i>position<\/i> in the waiting queue. If <i>position<\/i> is not given or <i>position<\/i> is larger than the size of the queue, it is appended at the end of the queue. This method returns GID of registered download.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>JSON\u2212RPC EXEMPLO M010<\/b><\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">The following example adds <b>http:\/\/example.org\/file<\/b>:<\/p>\n<pre style=\"margin-left:26%; margin-top: 1em\">>>> import urllib2, json >>> jsonreq = json.dumps({'jsonrpc':'2.0', 'id':'qwer', ... 'method':'aria2.addUri', ... 'params':[['http:\/\/example.org\/file']]}) >>> c = urllib2.urlopen('http:\/\/localhost:6800\/jsonrpc', jsonreq) >>> c.read() '{\"id\":\"qwer\",\"jsonrpc\":\"2.0\",\"result\":\"2089b05ecca3d829\"}'<\/pre>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>XML\u2212RPC EXEMPLO M020<\/b><\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">The following example adds <b>http:\/\/example.org\/file<\/b>:<\/p>\n<pre style=\"margin-left:26%; margin-top: 1em\">>>> import xmlrpclib >>> s = xmlrpclib.ServerProxy('http:\/\/localhost:6800\/rpc') >>> s.aria2.addUri(['http:\/\/example.org\/file']) '2089b05ecca3d829'<\/pre>\n<p style=\"margin-left:22%; margin-top: 1em\">The following example adds 2 sources and some options:<\/p>\n<pre style=\"margin-left:26%; margin-top: 1em\">>>> s.aria2.addUri(['http:\/\/example.org\/file', 'http:\/\/mirror\/file'], dict(dir=\"\/tmp\")) 'd2703803b52216d1'<\/pre>\n<p style=\"margin-left:22%; margin-top: 1em\">The following example adds a download and insert it to the front of waiting downloads:<\/p>\n<pre style=\"margin-left:26%; margin-top: 1em\">>>> s.aria2.addUri(['http:\/\/example.org\/file'], {}, 0) 'ca3d829cee549a4d'<\/pre>\n<p style=\"margin-left:11%;\"><b>aria2.addTorrent(torrent[, uris[, options[, position]]])<\/b><\/p>\n<p style=\"margin-left:22%;\">This method adds BitTorrent download by uploading &#8220;.torrent&#8221; file. If you want to add BitTorrent Magnet URI, use <i>aria2.addUri()<\/i> method instead. <i>torrent<\/i> is of type base64 which contains Base64\u2212encoded &#8220;.torrent&#8221; file. <i>uris<\/i> is of type array and its element is URI which is of type string. <i>uris<\/i> is used for Web\u2212seeding. For single file torrents, URI can be a complete URI pointing to the resource or if URI ends with \/, name in torrent file is added. For multi\u2212file torrents, name and path in torrent are added to form a URI for each file. <i>options<\/i> is of type struct and its members are a pair of option name and value. See <i>Op\u00c3\u00a7\u00c3\u00b5es<\/i> below for more details. If <i>position<\/i> is given as an integer starting from 0, the new download is inserted at <i>position<\/i> in the waiting queue. If <i>position<\/i> is not given or <i>position<\/i> is larger than the size of the queue, it is appended at the end of the queue. This method returns GID of registered download. If <i>\u2212\u2212rpc\u2212save\u2212upload\u2212metadata<\/i> is <b>true<\/b>, the uploaded data is saved as a file named hex string of SHA\u22121 hash of data plus &#8220;.torrent&#8221; in the directory specified by <i>\u2212\u2212dir<\/i> option. The example of filename is <b>0a3893293e27ac0490424c06de4d09242215f0a6.torrent<\/b>. If same file already exists, it is overwritten. If the file cannot be saved successfully or <i>\u2212\u2212rpc\u2212save\u2212upload\u2212metadata<\/i> is <b>false<\/b>, the downloads added by this method are not saved by <i>\u2212\u2212save\u2212session<\/i>.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">The following examples add local file <b>file.torrent<\/b>.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>JSON\u2212RPC EXEMPLO M030<\/b><\/p>\n<pre style=\"margin-left:26%; margin-top: 1em\">>>> import urllib2, json, base64 >>> torrent = base64.b64encode(open('file.torrent').read()) >>> jsonreq = json.dumps({'jsonrpc':'2.0', 'id':'asdf', ... 'method':'aria2.addTorrent', 'params':[torrent]}) >>> c = urllib2.urlopen('http:\/\/localhost:6800\/jsonrpc', jsonreq) >>> c.read() '{\"id\":\"asdf\",\"jsonrpc\":\"2.0\",\"result\":\"2089b05ecca3d829\"}'<\/pre>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>XML\u2212RPC EXEMPLO M040<\/b><\/p>\n<pre style=\"margin-left:26%; margin-top: 1em\">>>> import xmlrpclib >>> s = xmlrpclib.ServerProxy('http:\/\/localhost:6800\/rpc') >>> s.aria2.addTorrent(xmlrpclib.Binary(open('file.torrent').read())) '2089b05ecca3d829'<\/pre>\n<p style=\"margin-left:11%;\"><b>aria2.addMetalink(metalink[, options[, position]])<\/b><\/p>\n<p style=\"margin-left:22%;\">This method adds Metalink download by uploading &#8220;.metalink&#8221; file. <i>metalink<\/i> is of type base64 which contains Base64\u2212encoded &#8220;.metalink&#8221; file. <i>options<\/i> is of type struct and its members are a pair of option name and value. See <i>Op\u00c3\u00a7\u00c3\u00b5es<\/i> below for more details. If <i>position<\/i> is given as an integer starting from 0, the new download is inserted at <i>position<\/i> in the waiting queue. If <i>position<\/i> is not given or <i>position<\/i> is larger than the size of the queue, it is appended at the end of the queue. This method returns array of GID of registered download. If <i>\u2212\u2212rpc\u2212save\u2212upload\u2212metadata<\/i> is <b>true<\/b>, the uploaded data is saved as a file named hex string of SHA\u22121 hash of data plus &#8220;.metalink&#8221; in the directory specified by <i>\u2212\u2212dir<\/i> option. The example of filename is <b>0a3893293e27ac0490424c06de4d09242215f0a6.metalink<\/b>. If same file already exists, it is overwritten. If the file cannot be saved successfully or <i>\u2212\u2212rpc\u2212save\u2212upload\u2212metadata<\/i> is <b>false<\/b>, the downloads added by this method are not saved by <i>\u2212\u2212save\u2212session<\/i>.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">The following examples add local file file.meta4.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>JSON\u2212RPC EXEMPLO M050<\/b><\/p>\n<pre style=\"margin-left:26%; margin-top: 1em\">>>> import urllib2, json, base64 >>> metalink = base64.b64encode(open('file.meta4').read()) >>> jsonreq = json.dumps({'jsonrpc':'2.0', 'id':'qwer', ... 'method':'aria2.addMetalink', ... 'params':[metalink]}) >>> c = urllib2.urlopen('http:\/\/localhost:6800\/jsonrpc', jsonreq) >>> c.read() '{\"id\":\"qwer\",\"jsonrpc\":\"2.0\",\"result\":[\"2089b05ecca3d829\"]}'<\/pre>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>XML\u2212RPC EXEMPLO M060<\/b><\/p>\n<pre style=\"margin-left:26%; margin-top: 1em\">>>> import xmlrpclib >>> s = xmlrpclib.ServerProxy('http:\/\/localhost:6800\/rpc') >>> s.aria2.addMetalink(xmlrpclib.Binary(open('file.meta4').read())) ['2089b05ecca3d829']<\/pre>\n<p style=\"margin-left:11%;\"><b>aria2.remove(gid)<\/b><\/p>\n<p style=\"margin-left:22%;\">This method removes the download denoted by <i>gid<\/i>. <i>gid<\/i> is of type string. If specified download is in progress, it is stopped at first. The status of removed download becomes <b>removed<\/b>. This method returns GID of removed download.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">The following examples remove download GID#2089b05ecca3d829.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>JSON\u2212RPC EXEMPLO M070<\/b><\/p>\n<pre style=\"margin-left:26%; margin-top: 1em\">>>> import urllib2, json >>> jsonreq = json.dumps({'jsonrpc':'2.0', 'id':'qwer', ... 'method':'aria2.remove', ... 'params':['2089b05ecca3d829']}) >>> c = urllib2.urlopen('http:\/\/localhost:6800\/jsonrpc', jsonreq) >>> c.read() '{\"id\":\"qwer\",\"jsonrpc\":\"2.0\",\"result\":\"2089b05ecca3d829\"}'<\/pre>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>XML\u2212RPC EXEMPLO M080<\/b><\/p>\n<pre style=\"margin-left:26%; margin-top: 1em\">>>> import xmlrpclib >>> s = xmlrpclib.ServerProxy('http:\/\/localhost:6800\/rpc') >>> s.aria2.remove('2089b05ecca3d829') '2089b05ecca3d829'<\/pre>\n<p style=\"margin-left:11%;\"><b>aria2.forceRemove(gid)<\/b><\/p>\n<p style=\"margin-left:22%;\">This method removes the download denoted by <i>gid<\/i>. This method behaves just like <i>aria2.remove()<\/i> except that this method removes download without any action which takes time such as contacting BitTorrent tracker.<\/p>\n<p style=\"margin-left:11%;\"><b>aria2.pause(gid)<\/b><\/p>\n<p style=\"margin-left:22%;\">This method pauses the download denoted by <i>gid<\/i>. <i>gid<\/i> is of type string. The status of paused download becomes <b>paused<\/b>. If the download is active, the download is placed on the first position of waiting queue. As long as the status is <b>paused<\/b>, the download is not started. To change status to <b>waiting<\/b>, use <i>aria2.unpause()<\/i> method. This method returns GID of paused download.<\/p>\n<p style=\"margin-left:11%;\"><b>aria2.pauseAll()<\/b><\/p>\n<p style=\"margin-left:22%;\">This method is equal to calling <i>aria2.pause()<\/i> for every active\/waiting download. This methods returns <b>OK<\/b> for success.<\/p>\n<p style=\"margin-left:11%;\"><b>aria2.forcePause(pid)<\/b><\/p>\n<p style=\"margin-left:22%;\">This method pauses the download denoted by <i>gid<\/i>. This method behaves just like <i>aria2.pause()<\/i> except that this method pauses download without any action which takes time such as contacting BitTorrent tracker.<\/p>\n<p style=\"margin-left:11%;\"><b>aria2.forcePauseAll()<\/b><\/p>\n<p style=\"margin-left:22%;\">This method is equal to calling <i>aria2.forcePause()<\/i> for every active\/waiting download. This methods returns <b>OK<\/b> for success.<\/p>\n<p style=\"margin-left:11%;\"><b>aria2.unpause(gid)<\/b><\/p>\n<p style=\"margin-left:22%;\">This method changes the status of the download denoted by <i>gid<\/i> from <b>paused<\/b> to <b>waiting<\/b>. This makes the download eligible to restart. <i>gid<\/i> is of type string. This method returns GID of unpaused download.<\/p>\n<p style=\"margin-left:11%;\"><b>aria2.unpauseAll()<\/b><\/p>\n<p style=\"margin-left:22%;\">This method is equal to calling <i>aria2.unpause()<\/i> for every active\/waiting download. This methods returns <b>OK<\/b> for success.<\/p>\n<p style=\"margin-left:11%;\"><b>aria2.tellStatus(gid[, keys])<\/b><\/p>\n<p style=\"margin-left:22%;\">This method returns download progress of the download denoted by <i>gid<\/i>. <i>gid<\/i> is of type string. <i>keys<\/i> is array of string. If it is specified, the response contains only keys in <i>keys<\/i> array. If <i>keys<\/i> is empty or not specified, the response contains all keys. This is useful when you just want specific keys and avoid unnecessary transfers. For example, <b>aria2.tellStatus(&#8220;2089b05ecca3d829&#8221;, [&#8220;gid&#8221;, &#8220;status&#8221;])<\/b> returns <i>gid<\/i> and &#8216;status&#8217; key. The response is of type struct and it contains following keys. The value type is string.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"9%\">\n<p><b>gid<\/b><\/p>\n<\/td>\n<td width=\"1%\"><\/td>\n<td width=\"68%\">\n<p>GID of this download.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"9%\">\n<p><b>status<\/b><\/p>\n<\/td>\n<td width=\"1%\"><\/td>\n<td width=\"68%\">\n<p><b>active<\/b> for currently downloading\/seeding entry. <b>waiting<\/b> for the entry in the queue; download is not started. <b>paused<\/b> for the paused entry. <b>error<\/b> for the stopped download because of error. <b>complete<\/b> for the stopped and completed download. <b>removed<\/b> for the download removed by user.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\"><b>totalLength<\/b><\/p>\n<p style=\"margin-left:32%;\">Total length of this download in bytes.<\/p>\n<p style=\"margin-left:22%;\"><b>completedLength<\/b><\/p>\n<p style=\"margin-left:32%;\">Completed length of this download in bytes.<\/p>\n<p style=\"margin-left:22%;\"><b>uploadLength<\/b><\/p>\n<p style=\"margin-left:32%;\">Uploaded length of this download in bytes.<\/p>\n<p style=\"margin-left:22%;\"><b>bitfield<\/b><\/p>\n<p style=\"margin-left:32%;\">Hexadecimal representation of the download progress. The highest bit corresponds to piece index 0. The set bits indicate the piece is available and unset bits indicate the piece is missing. The spare bits at the end are set to zero. When download has not started yet, this key will not be included in the response.<\/p>\n<p style=\"margin-left:22%;\"><b>downloadSpeed<\/b><\/p>\n<p style=\"margin-left:32%;\">Download speed of this download measured in bytes\/sec.<\/p>\n<p style=\"margin-left:22%;\"><b>uploadSpeed<\/b><\/p>\n<p style=\"margin-left:32%;\">Upload speed of this download measured in bytes\/sec.<\/p>\n<p style=\"margin-left:22%;\"><b>infoHash<\/b><\/p>\n<p style=\"margin-left:32%;\">InfoHash. BitTorrent only.<\/p>\n<p style=\"margin-left:22%;\"><b>numSeeders<\/b><\/p>\n<p style=\"margin-left:32%;\">The number of seeders the client has connected to. BitTorrent only.<\/p>\n<p style=\"margin-left:22%;\"><b>pieceLength<\/b><\/p>\n<p style=\"margin-left:32%;\">Piece length in bytes.<\/p>\n<p style=\"margin-left:22%;\"><b>numPieces<\/b><\/p>\n<p style=\"margin-left:32%;\">The number of pieces.<\/p>\n<p style=\"margin-left:22%;\"><b>connections<\/b><\/p>\n<p style=\"margin-left:32%;\">The number of peers\/servers the client has connected to.<\/p>\n<p style=\"margin-left:22%;\"><b>errorCode<\/b><\/p>\n<p style=\"margin-left:32%;\">The last error code occurred in this download. The value is of type string. The error codes are defined in <i>C\u00c3DIGO DE RETORNO ou SA\u00c3DA<\/i> section. This value is only available for stopped\/completed downloads.<\/p>\n<p style=\"margin-left:22%;\"><b>followedBy<\/b><\/p>\n<p style=\"margin-left:32%;\">List of GIDs which are generated by the consequence of this download. For example, when aria2 downloaded Metalink file, it generates downloads described in it(see <i>\u2212\u2212follow\u2212metalink<\/i> option). This value is useful to track these auto generated downloads. If there is no such downloads, this key will not be included in the response.<\/p>\n<p style=\"margin-left:22%;\"><b>belongsTo<\/b><\/p>\n<p style=\"margin-left:32%;\">GID of a parent download. Some downloads are a part of another download. For example, if a file in Metalink has BitTorrent resource, the download of &#8220;.torrent&#8221; is a part of that file. If this download has no parent, this key will not be included in the response.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"7%\">\n<p><b>dir<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>Directory to save files. This key is not available for stopped downloads.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"7%\">\n<p><b>files<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>Returns the list of files. The element of list is the same struct used in <i>aria2.getFiles()<\/i> method.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\"><b>bittorrent<\/b><\/p>\n<p style=\"margin-left:32%;\">Struct which contains information retrieved from .torrent file. BitTorrent only. It contains following keys. <b><br \/> announceList<\/b><\/p>\n<p style=\"margin-left:43%;\">List of lists of announce URI. If &#8220;.torrent&#8221; file contains announce and no announce\u2212list, announce is converted to announce\u2212list format.<\/p>\n<p style=\"margin-left:32%;\"><b>comment<\/b><\/p>\n<p style=\"margin-left:43%;\">The comment for the torrent. <b>comment.utf\u22128<\/b> is used if available.<\/p>\n<p style=\"margin-left:32%;\"><b>creationDate<\/b><\/p>\n<p style=\"margin-left:43%;\">The creation time of the torrent. The value is an integer since the Epoch, measured in seconds.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"6%\">\n<p><b>mode<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"57%\">\n<p>File mode of the torrent. The value is either <b>single<\/b> or <b>multi<\/b>.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"6%\">\n<p><b>info<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"57%\">\n<p>Struct which contains data from Info dictionary. It contains following keys.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:43%;\"><b>name<\/b><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"54%\"><\/td>\n<td width=\"46%\">\n<p style=\"margin-top: 1em\">name in info dictionary. <b>name.utf\u22128<\/b> is used if available.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>JSON\u2212RPC EXEMPLO M090<\/b><\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">The following example gets information about download GID#2089b05ecca3d829:<\/p>\n<pre style=\"margin-left:26%; margin-top: 1em\">>>> import urllib2, json >>> from pprint import pprint >>> jsonreq = json.dumps({'jsonrpc':'2.0', 'id':'qwer', ... 'method':'aria2.tellStatus', ... 'params':['2089b05ecca3d829']}) >>> c = urllib2.urlopen('http:\/\/localhost:6800\/jsonrpc', jsonreq) >>> pprint(json.loads(c.read())) {u'id': u'qwer', u'jsonrpc': u'2.0', u'result': {u'bitfield': u'0000000000', u'completedLength': u'901120', u'connections': u'1', u'dir': u'\/downloads', u'downloadSpeed': u'15158', u'files': [{u'index': u'1', u'length': u'34896138', u'completedLength': u'34896138', u'path': u'\/downloads\/file', u'selected': u'true', u'uris': [{u'status': u'used', u'uri': u'http:\/\/example.org\/file'}]}], u'gid': u'2089b05ecca3d829', u'numPieces': u'34', u'pieceLength': u'1048576', u'status': u'active', u'totalLength': u'34896138', u'uploadLength': u'0', u'uploadSpeed': u'0'}}<\/pre>\n<p style=\"margin-left:22%; margin-top: 1em\">The following example gets information specifying keys you are interested in:<\/p>\n<pre style=\"margin-left:26%; margin-top: 1em\">>>> jsonreq = json.dumps({'jsonrpc':'2.0', 'id':'qwer', ... 'method':'aria2.tellStatus', ... 'params':['2089b05ecca3d829', ... ['gid', ... 'totalLength', ... 'completedLength']]}) >>> c = urllib2.urlopen('http:\/\/localhost:6800\/jsonrpc', jsonreq) >>> pprint(json.loads(c.read())) {u'id': u'qwer', u'jsonrpc': u'2.0', u'result': {u'completedLength': u'5701632', u'gid': u'2089b05ecca3d829', u'totalLength': u'34896138'}}<\/pre>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>XML\u2212RPC EXEMPLO M100<\/b><\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">The following example gets information about download GID#2089b05ecca3d829:<\/p>\n<pre style=\"margin-left:26%; margin-top: 1em\">>>> import xmlrpclib >>> from pprint import pprint >>> s = xmlrpclib.ServerProxy('http:\/\/localhost:6800\/rpc') >>> r = s.aria2.tellStatus('2089b05ecca3d829') >>> pprint(r) {'bitfield': 'ffff80', 'completedLength': '34896138', 'connections': '0', 'dir': '\/downloads', 'downloadSpeed': '0', 'errorCode': '0', 'files': [{'index': '1', 'length': '34896138', 'completedLength': '34896138', 'path': '\/downloads\/file', 'selected': 'true', 'uris': [{'status': 'used', 'uri': 'http:\/\/example.org\/file'}]}], 'gid': '2089b05ecca3d829', 'numPieces': '17', 'pieceLength': '2097152', 'status': 'complete', 'totalLength': '34896138', 'uploadLength': '0', 'uploadSpeed': '0'}<\/pre>\n<p style=\"margin-left:22%; margin-top: 1em\">The following example gets information specifying keys you are interested in:<\/p>\n<pre style=\"margin-left:26%; margin-top: 1em\">>>> r = s.aria2.tellStatus('2089b05ecca3d829', ['gid', 'totalLength', 'completedLength']) >>> pprint(r) {'completedLength': '34896138', 'gid': '2089b05ecca3d829', 'totalLength': '34896138'}<\/pre>\n<p style=\"margin-left:11%;\"><b>aria2.getUris(gid)<\/b><\/p>\n<p style=\"margin-left:22%;\">This method returns URIs used in the download denoted by <i>gid<\/i>. <i>gid<\/i> is of type string. The response is of type array and its element is of type struct and it contains following keys. The value type is string.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"9%\">\n<p><b>uri<\/b><\/p>\n<\/td>\n<td width=\"1%\"><\/td>\n<td width=\"68%\">\n<p>URI<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"9%\">\n<p><b>status<\/b><\/p>\n<\/td>\n<td width=\"1%\"><\/td>\n<td width=\"68%\">\n<p>&#8216;used&#8217; if the URI is already used. &#8216;waiting&#8217; if the URI is waiting in the queue.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>JSON\u2212RPC EXEMPLO M110<\/b><\/p>\n<pre style=\"margin-left:26%; margin-top: 1em\">>>> import urllib2, json >>> from pprint import pprint >>> jsonreq = json.dumps({'jsonrpc':'2.0', 'id':'qwer', ... 'method':'aria2.getUris', ... 'params':['2089b05ecca3d829']}) >>> c = urllib2.urlopen('http:\/\/localhost:6800\/jsonrpc', jsonreq) >>> pprint(json.loads(c.read())) {u'id': u'qwer', u'jsonrpc': u'2.0', u'result': [{u'status': u'used', u'uri': u'http:\/\/example.org\/file'}]}<\/pre>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>XML\u2212RPC EXEMPLO M120<\/b><\/p>\n<pre style=\"margin-left:26%; margin-top: 1em\">>>> import xmlrpclib >>> from pprint import pprint >>> s = xmlrpclib.ServerProxy('http:\/\/localhost:6800\/rpc') >>> r = s.aria2.getUris('2089b05ecca3d829') >>> pprint(r) [{'status': 'used', 'uri': 'http:\/\/example.org\/file'}]<\/pre>\n<p style=\"margin-left:11%;\"><b>aria2.getFiles(gid)<\/b><\/p>\n<p style=\"margin-left:22%;\">This method returns file list of the download denoted by <i>gid<\/i>. <i>gid<\/i> is of type string. The response is of type array and its element is of type struct and it contains following keys. The value type is string.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"9%\">\n<p><b>index<\/b><\/p>\n<\/td>\n<td width=\"1%\"><\/td>\n<td width=\"68%\">\n<p>Index of file. Starting with 1. This is the same order with the files in multi\u2212file torrent.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"9%\">\n<p><b>path<\/b><\/p>\n<\/td>\n<td width=\"1%\"><\/td>\n<td width=\"68%\">\n<p>File path.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"9%\">\n<p><b>length<\/b><\/p>\n<\/td>\n<td width=\"1%\"><\/td>\n<td width=\"68%\">\n<p>File size in bytes.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\"><b>completedLength<\/b><\/p>\n<p style=\"margin-left:32%;\">Completed length of this file in bytes. Please note that it is possible that sum of completedLength is less than completedLength in <i>aria2.tellStatus()<\/i> method. This is because completedLength in <i>aria2.getFiles()<\/i> only calculates completed pieces. On the other hand, completedLength in <i>aria2.tellStatus()<\/i> takes into account of partially completed piece.<\/p>\n<p style=\"margin-left:22%;\"><b>selected<\/b><\/p>\n<p style=\"margin-left:32%;\"><b>true<\/b> if this file is selected by <i>\u2212\u2212select\u2212file<\/i> option. If <i>\u2212\u2212select\u2212file<\/i> is not specified or this is single torrent or no torrent download, this value is always <b>true<\/b>. Otherwise <b>false<\/b>.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"6%\">\n<p><b>uris<\/b><\/p>\n<\/td>\n<td width=\"4%\"><\/td>\n<td width=\"68%\">\n<p>Returns the list of URI for this file. The element of list is the same struct used in <i>aria2.getUris()<\/i> method.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>JSON\u2212RPC EXEMPLO M130<\/b><\/p>\n<pre style=\"margin-left:26%; margin-top: 1em\">>>> import urllib2, json >>> from pprint import pprint >>> jsonreq = json.dumps({'jsonrpc':'2.0', 'id':'qwer', ... 'method':'aria2.getFiles', ... 'params':['2089b05ecca3d829']}) >>> c = urllib2.urlopen('http:\/\/localhost:6800\/jsonrpc', jsonreq) >>> pprint(json.loads(c.read())) {u'id': u'qwer', u'jsonrpc': u'2.0', u'result': [{u'index': u'1', u'length': u'34896138', u'completedLength': u'34896138', u'path': u'\/downloads\/file', u'selected': u'true', u'uris': [{u'status': u'used', u'uri': u'http:\/\/example.org\/file'}]}]}<\/pre>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>XML\u2212RPC EXEMPLO M140<\/b><\/p>\n<pre style=\"margin-left:26%; margin-top: 1em\">>>> import xmlrpclib >>> from pprint import pprint >>> s = xmlrpclib.ServerProxy('http:\/\/localhost:6800\/rpc') >>> r = s.aria2.getFiles('2089b05ecca3d829') >>> pprint(r) [{'index': '1', 'length': '34896138', 'completedLength': '34896138', 'path': '\/downloads\/file', 'selected': 'true', 'uris': [{'status': 'used', 'uri': 'http:\/\/example.org\/file'}]}]<\/pre>\n<p style=\"margin-left:11%;\"><b>aria2.getPeers(gid)<\/b><\/p>\n<p style=\"margin-left:22%;\">This method returns peer list of the download denoted by <i>gid<\/i>. <i>gid<\/i> is of type string. This method is for BitTorrent only. The response is of type array and its element is of type struct and it contains following keys. The value type is string.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"9%\">\n<p><b>peerId<\/b><\/p>\n<\/td>\n<td width=\"1%\"><\/td>\n<td width=\"37%\">\n<p>Percent\u2212encoded peer ID.<\/p>\n<\/td>\n<td width=\"31%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"9%\">\n<p><b>ip<\/b><\/p>\n<\/td>\n<td width=\"1%\"><\/td>\n<td width=\"37%\">\n<p>IP address of the peer.<\/p>\n<\/td>\n<td width=\"31%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"9%\">\n<p><b>port<\/b><\/p>\n<\/td>\n<td width=\"1%\"><\/td>\n<td width=\"37%\">\n<p>Port number of the peer.<\/p>\n<\/td>\n<td width=\"31%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\"><b>bitfield<\/b><\/p>\n<p style=\"margin-left:32%;\">Hexadecimal representation of the download progress of the peer. The highest bit corresponds to piece index 0. The set bits indicate the piece is available and unset bits indicate the piece is missing. The spare bits at the end are set to zero.<\/p>\n<p style=\"margin-left:22%;\"><b>amChoking<\/b><\/p>\n<p style=\"margin-left:32%;\"><b>true<\/b> if this client is choking the peer. Otherwise <b>false<\/b>.<\/p>\n<p style=\"margin-left:22%;\"><b>peerChoking<\/b><\/p>\n<p style=\"margin-left:32%;\"><b>true<\/b> if the peer is choking this client. Otherwise <b>false<\/b>.<\/p>\n<p style=\"margin-left:22%;\"><b>downloadSpeed<\/b><\/p>\n<p style=\"margin-left:32%;\">Download speed (byte\/sec) that this client obtains from the peer.<\/p>\n<p style=\"margin-left:22%;\"><b>uploadSpeed<\/b><\/p>\n<p style=\"margin-left:32%;\">Upload speed(byte\/sec) that this client uploads to the peer.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"9%\">\n<p><b>seeder<\/b><\/p>\n<\/td>\n<td width=\"1%\"><\/td>\n<td width=\"68%\">\n<p><b>true<\/b> is this client is a seeder. Otherwise <b>false<\/b>.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>JSON\u2212RPC EXEMPLO M150<\/b><\/p>\n<pre style=\"margin-left:26%; margin-top: 1em\">>>> import urllib2, json >>> from pprint import pprint >>> jsonreq = json.dumps({'jsonrpc':'2.0', 'id':'qwer', ... 'method':'aria2.getPeers', ... 'params':['2089b05ecca3d829']}) >>> c = urllib2.urlopen('http:\/\/localhost:6800\/jsonrpc', jsonreq) >>> pprint(json.loads(c.read())) {u'id': u'qwer', u'jsonrpc': u'2.0', u'result': [{u'amChoking': u'true', u'bitfield': u'ffffffffffffffffffffffffffffffffffffffff', u'downloadSpeed': u'10602', u'ip': u'10.0.0.9', u'peerChoking': u'false', u'peerId': u'aria2%2F1%2E10%2E5%2D%87%2A%EDz%2F%F7%E6', u'port': u'6881', u'seeder': u'true', u'uploadSpeed': u'0'}, {u'amChoking': u'false', u'bitfield': u'ffffeff0fffffffbfffffff9fffffcfff7f4ffff', u'downloadSpeed': u'8654', u'ip': u'10.0.0.30', u'peerChoking': u'false', u'peerId': u'bittorrent client758', u'port': u'37842', u'seeder': u'false', u'uploadSpeed': u'6890'}]}<\/pre>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>XML\u2212RPC EXEMPLO M160<\/b><\/p>\n<pre style=\"margin-left:26%; margin-top: 1em\">>>> import xmlrpclib >>> from pprint import pprint >>> s = xmlrpclib.ServerProxy('http:\/\/localhost:6800\/rpc') >>> r = s.aria2.getPeers('2089b05ecca3d829') >>> pprint(r) [{'amChoking': 'true', 'bitfield': 'ffffffffffffffffffffffffffffffffffffffff', 'downloadSpeed': '10602', 'ip': '10.0.0.9', 'peerChoking': 'false', 'peerId': 'aria2%2F1%2E10%2E5%2D%87%2A%EDz%2F%F7%E6', 'port': '6881', 'seeder': 'true', 'uploadSpeed': '0'}, {'amChoking': 'false', 'bitfield': 'ffffeff0fffffffbfffffff9fffffcfff7f4ffff', 'downloadSpeed': '8654', 'ip': '10.0.0.30', 'peerChoking': 'false', 'peerId': 'bittorrent client758', 'port': '37842', 'seeder': 'false, 'uploadSpeed': '6890'}]<\/pre>\n<p style=\"margin-left:11%;\"><b>aria2.getServers(gid)<\/b><\/p>\n<p style=\"margin-left:22%;\">This method returns currently connected HTTP, HTTPS, FTP servers of the download denoted by <i>gid<\/i>. <i>gid<\/i> is of type string. The response is of type array and its element is of type struct and it contains following keys. The value type is string.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"7%\">\n<p><b>index<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>Index of file. Starting with 1. This is the same order with the files in multi\u2212file torrent.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\"><b>servers<\/b><\/p>\n<p style=\"margin-left:32%;\">The list of struct which contains following keys.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"5%\">\n<p><b>uri<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"32%\">\n<p>URI originally added.<\/p>\n<\/td>\n<td width=\"25%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:32%;\"><b>currentUri<\/b><\/p>\n<p style=\"margin-left:43%;\">This is the URI currently used for downloading. If redirection is involved, currentUri and uri may differ.<\/p>\n<p style=\"margin-left:32%;\"><b>downloadSpeed<\/b><\/p>\n<p style=\"margin-left:43%;\">Download speed (byte\/sec)<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>JSON\u2212RPC EXEMPLO M170<\/b><\/p>\n<pre style=\"margin-left:26%; margin-top: 1em\">>>> import urllib2, json >>> from pprint import pprint >>> jsonreq = json.dumps({'jsonrpc':'2.0', 'id':'qwer', ... 'method':'aria2.getServers', ... 'params':['2089b05ecca3d829']}) >>> c = urllib2.urlopen('http:\/\/localhost:6800\/jsonrpc', jsonreq) >>> pprint(json.loads(c.read())) {u'id': u'qwer', u'jsonrpc': u'2.0', u'result': [{u'index': u'1', u'servers': [{u'currentUri': u'http:\/\/example.org\/file', u'downloadSpeed': u'10467', u'uri': u'http:\/\/example.org\/file'}]}]}<\/pre>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>XML\u2212RPC EXEMPLO M180<\/b><\/p>\n<pre style=\"margin-left:26%; margin-top: 1em\">>>> import xmlrpclib >>> from pprint import pprint >>> s = xmlrpclib.ServerProxy('http:\/\/localhost:6800\/rpc') >>> r = s.aria2.getServers('2089b05ecca3d829') >>> pprint(r) [{'index': '1', 'servers': [{'currentUri': 'http:\/\/example.org\/dl\/file', 'downloadSpeed': '20285', 'uri': 'http:\/\/example.org\/file'}]}]<\/pre>\n<p style=\"margin-left:11%;\"><b>aria2.tellActive([keys])<\/b><\/p>\n<p style=\"margin-left:22%;\">This method returns the list of active downloads. The response is of type array and its element is the same struct returned by <i>aria2.tellStatus()<\/i> method. For <i>keys<\/i> parameter, please refer to <i>aria2.tellStatus()<\/i> method.<\/p>\n<p style=\"margin-left:11%;\"><b>aria2.tellWaiting(offset, num[, keys])<\/b><\/p>\n<p style=\"margin-left:22%;\">This method returns the list of waiting download, including paused downloads. <i>offset<\/i> is of type integer and specifies the offset from the download waiting at the front. <i>num<\/i> is of type integer and specifies the number of downloads to be returned. For <i>keys<\/i> parameter, please refer to <i>aria2.tellStatus()<\/i> method.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">If <i>offset<\/i> is a positive integer, this method returns downloads in the range of [<i>offset<\/i>, <i>offset<\/i> + <i>num<\/i>).<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\"><i>offset<\/i> can be a negative integer. <i>offset<\/i> == \u22121 points last download in the waiting queue and <i>offset<\/i> == \u22122 points the download before the last download, and so on. The downloads in the response are in reversed order.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">For example, imagine that three downloads &#8220;A&#8221;,&#8221;B&#8221; and &#8220;C&#8221; are waiting in this order. <b>aria2.tellWaiting(0, 1)<\/b> returns <b>[&#8220;A&#8221;]<\/b>. <b>aria2.tellWaiting(1, 2)<\/b> returns <b>[&#8220;B&#8221;, &#8220;C&#8221;]<\/b>. <b>aria2.tellWaiting(\u22121, 2)<\/b> returns <b>[&#8220;C&#8221;, &#8220;B&#8221;]<\/b>.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">The response is of type array and its element is the same struct returned by <i>aria2.tellStatus()<\/i> method.<\/p>\n<p style=\"margin-left:11%;\"><b>aria2.tellStopped(offset, num[, keys])<\/b><\/p>\n<p style=\"margin-left:22%;\">This method returns the list of stopped download. <i>offset<\/i> is of type integer and specifies the offset from the oldest download. <i>num<\/i> is of type integer and specifies the number of downloads to be returned. For <i>keys<\/i> parameter, please refer to <i>aria2.tellStatus()<\/i> method.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\"><i>offset<\/i> and <i>num<\/i> have the same semantics as <i>aria2.tellWaiting()<\/i> method.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">The response is of type array and its element is the same struct returned by <i>aria2.tellStatus()<\/i> method.<\/p>\n<p style=\"margin-left:11%;\"><b>aria2.changePosition(gid, pos, how)<\/b><\/p>\n<p style=\"margin-left:22%;\">This method changes the position of the download denoted by <i>gid<\/i>. <i>pos<\/i> is of type integer. <i>how<\/i> is of type string. If <i>how<\/i> is <b>POS_SET<\/b>, it moves the download to a position relative to the beginning of the queue. If <i>how<\/i> is <b>POS_CUR<\/b>, it moves the download to a position relative to the current position. If <i>how<\/i> is <b>POS_END<\/b>, it moves the download to a position relative to the end of the queue. If the destination position is less than 0 or beyond the end of the queue, it moves the download to the beginning or the end of the queue respectively. The response is of type integer and it is the destination position.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">For example, if GID#2089b05ecca3d829 is placed in position 3, <b>aria2.changePosition(&#8216;2089b05ecca3d829&#8217;, \u22121, &#8216;POS_CUR&#8217;)<\/b> will change its position to 2. Additional <b>aria2.changePosition(&#8216;2089b05ecca3d829&#8217;, 0, &#8216;POS_SET&#8217;)<\/b> will change its position to 0(the beginning of the queue).<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">The following examples move the download GID#2089b05ecca3d829 to the front of the waiting queue.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>JSON\u2212RPC EXEMPLO M190<\/b><\/p>\n<pre style=\"margin-left:26%; margin-top: 1em\">>>> import urllib2, json >>> from pprint import pprint >>> jsonreq = json.dumps({'jsonrpc':'2.0', 'id':'qwer', ... 'method':'aria2.changePosition', ... 'params':['2089b05ecca3d829', 0, 'POS_SET']}) >>> c = urllib2.urlopen('http:\/\/localhost:6800\/jsonrpc', jsonreq) >>> pprint(json.loads(c.read())) {u'id': u'qwer', u'jsonrpc': u'2.0', u'result': 0}<\/pre>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>XML\u2212RPC EXEMPLO M200<\/b><\/p>\n<pre style=\"margin-left:26%; margin-top: 1em\">>>> import xmlrpclib >>> s = xmlrpclib.ServerProxy('http:\/\/localhost:6800\/rpc') >>> s.aria2.changePosition('2089b05ecca3d829', 0, 'POS_SET') 0<\/pre>\n<p style=\"margin-left:11%;\"><b>aria2.changeUri(gid, fileIndex, delUris, addUris[, position])<\/b><\/p>\n<p style=\"margin-left:22%;\">This method removes URIs in <i>delUris<\/i> from and appends URIs in <i>addUris<\/i> to download denoted by <i>gid<\/i>. <i>delUris<\/i> and <i>addUris<\/i> are list of string. A download can contain multiple files and URIs are attached to each file. <i>fileIndex<\/i> is used to select which file to remove\/attach given URIs. <i>fileIndex<\/i> is 1\u2212based. <i>position<\/i> is used to specify where URIs are inserted in the existing waiting URI list. <i>position<\/i> is 0\u2212based. When <i>position<\/i> is omitted, URIs are appended to the back of the list. This method first execute removal and then addition. <i>position<\/i> is the position after URIs are removed, not the position when this method is called. When removing URI, if same URIs exist in download, only one of them is removed for each URI in <i>delUris<\/i>. In other words, there are three URIs <b>http:\/\/example.org\/aria2<\/b> and you want remove them all, you have to specify (at least) 3 <b>http:\/\/example.org\/aria2<\/b> in <i>delUris<\/i>. This method returns a list which contains 2 integers. The first integer is the number of URIs deleted. The second integer is the number of URIs added.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">The following examples add 1 URI <b>http:\/\/example.org\/file<\/b> to the file whose index is <b>1<\/b> and belongs to the download GID#2089b05ecca3d829.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>JSON\u2212RPC EXEMPLO M210<\/b><\/p>\n<pre style=\"margin-left:26%; margin-top: 1em\">>>> import urllib2, json >>> from pprint import pprint >>> jsonreq = json.dumps({'jsonrpc':'2.0', 'id':'qwer', ... 'method':'aria2.changeUri', ... 'params':['2089b05ecca3d829', 1, [], ['http:\/\/example.org\/file']]}) >>> c = urllib2.urlopen('http:\/\/localhost:6800\/jsonrpc', jsonreq) >>> pprint(json.loads(c.read())) {u'id': u'qwer', u'jsonrpc': u'2.0', u'result': [0, 1]}<\/pre>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>XML\u2212RPC EXEMPLO M220<\/b><\/p>\n<pre style=\"margin-left:26%; margin-top: 1em\">>>> import xmlrpclib >>> s = xmlrpclib.ServerProxy('http:\/\/localhost:6800\/rpc') >>> s.aria2.changeUri('2089b05ecca3d829', 1, [], ['http:\/\/example.org\/file']) [0, 1]<\/pre>\n<p style=\"margin-left:11%;\"><b>aria2.getOption(gid)<\/b><\/p>\n<p style=\"margin-left:22%;\">This method returns options of the download denoted by <i>gid<\/i>. The response is of type struct. Its key is the name of option. The value type is string. Note that this method does not return options which have no default value and have not been set by the command\u2212line options, configuration files or RPC methods.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">The following examples get options of the download GID#2089b05ecca3d829.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>JSON\u2212RPC EXEMPLO M230<\/b><\/p>\n<pre style=\"margin-left:26%; margin-top: 1em\">>>> import urllib2, json >>> from pprint import pprint >>> jsonreq = json.dumps({'jsonrpc':'2.0', 'id':'qwer', ... 'method':'aria2.getOption', ... 'params':['2089b05ecca3d829']}) >>> c = urllib2.urlopen('http:\/\/localhost:6800\/jsonrpc', jsonreq) >>> pprint(json.loads(c.read())) {u'id': u'qwer', u'jsonrpc': u'2.0', u'result': {u'allow\u2212overwrite': u'false', u'allow\u2212piece\u2212length\u2212change': u'false', u'always\u2212resume': u'true', u'async\u2212dns': u'true', ...<\/pre>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>XML\u2212RPC EXEMPLO M240<\/b><\/p>\n<pre style=\"margin-left:26%; margin-top: 1em\">>>> import xmlrpclib >>> from pprint import pprint >>> s = xmlrpclib.ServerProxy('http:\/\/localhost:6800\/rpc') >>> r = s.aria2.getOption('2089b05ecca3d829') >>> pprint(r) {'allow\u2212overwrite': 'false', 'allow\u2212piece\u2212length\u2212change': 'false', 'always\u2212resume': 'true', 'async\u2212dns': 'true', ....<\/pre>\n<p style=\"margin-left:11%;\"><b>aria2.changeOption(gid, options)<\/b><\/p>\n<p style=\"margin-left:22%;\">This method changes options of the download denoted by <i>gid<\/i> dynamically. <i>gid<\/i> is of type string. <i>options<\/i> is of type struct. The following options are available for active downloads:<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"41%\">\n<p><i>bt\u2212max\u2212peers<\/i><\/p>\n<\/td>\n<td width=\"34%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"41%\">\n<p><i>bt\u2212request\u2212peer\u2212speed\u2212limit<\/i><\/p>\n<\/td>\n<td width=\"34%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"41%\">\n<p><i>bt\u2212remove\u2212unselected\u2212file<\/i><\/p>\n<\/td>\n<td width=\"34%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"41%\">\n<p><i>force\u2212save<\/i><\/p>\n<\/td>\n<td width=\"34%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"41%\">\n<p><i>max\u2212download\u2212limit<\/i><\/p>\n<\/td>\n<td width=\"34%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"41%\">\n<p><i>max\u2212upload\u2212limit<\/i><\/p>\n<\/td>\n<td width=\"34%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%; margin-top: 1em\">For waiting or paused downloads, in addition to the above options, options listed in <i>Arquivo de Entrada<\/i> subsection are available, except for following options: <i>dry\u2212run<\/i>, <i>metalink\u2212base\u2212uri<\/i>, <i>parameterized\u2212uri<\/i>, <i>pause<\/i>, <i>piece\u2212length<\/i> and <i>rpc\u2212save\u2212upload\u2212metadata<\/i> option. This method returns <b>OK<\/b> for success.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">The following examples set <i>max\u2212download\u2212limit<\/i> option to <b>20K<\/b> for the download GID#2089b05ecca3d829.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>JSON\u2212RPC EXEMPLO M250<\/b><\/p>\n<pre style=\"margin-left:26%; margin-top: 1em\">>>> import urllib2, json >>> from pprint import pprint >>> jsonreq = json.dumps({'jsonrpc':'2.0', 'id':'qwer', ... 'method':'aria2.changeOption', ... 'params':['2089b05ecca3d829', ... {'max\u2212download\u2212limit':'10K'}]}) >>> c = urllib2.urlopen('http:\/\/localhost:6800\/jsonrpc', jsonreq) >>> pprint(json.loads(c.read())) {u'id': u'qwer', u'jsonrpc': u'2.0', u'result': u'OK'}<\/pre>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>XML\u2212RPC EXEMPLO M260<\/b><\/p>\n<pre style=\"margin-left:26%; margin-top: 1em\">>>> import xmlrpclib >>> s = xmlrpclib.ServerProxy('http:\/\/localhost:6800\/rpc') >>> s.aria2.changeOption('2089b05ecca3d829', {'max\u2212download\u2212limit':'20K'}) 'OK'<\/pre>\n<p style=\"margin-left:11%;\"><b>aria2.getGlobalOption()<\/b><\/p>\n<p style=\"margin-left:22%;\">This method returns global options. The response is of type struct. Its key is the name of option. The value type is string. Note that this method does not return options which have no default value and have not been set by the command\u2212line options, configuration files or RPC methods. Because global options are used as a template for the options of newly added download, the response contains keys returned by <i>aria2.getOption()<\/i> method.<\/p>\n<p style=\"margin-left:11%;\"><b>aria2.changeGlobalOption(options)<\/b><\/p>\n<p style=\"margin-left:22%;\">This method changes global options dynamically. <i>options<\/i> is of type struct. The following options are available:<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"40%\">\n<p><i>download\u2212result<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"40%\">\n<p><i>log<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"40%\">\n<p><i>log\u2212level<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"40%\">\n<p><i>max\u2212concurrent\u2212downloads<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"40%\">\n<p><i>max\u2212download\u2212result<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"40%\">\n<p><i>max\u2212overall\u2212download\u2212limit<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"40%\">\n<p><i>max\u2212overall\u2212upload\u2212limit<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"40%\">\n<p><i>save\u2212cookies<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"40%\">\n<p><i>save\u2212session<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"40%\">\n<p><i>server\u2212stat\u2212of<\/i><\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%; margin-top: 1em\">In addition to them, options listed in <i>Arquivo de Entrada<\/i> subsection are available, except for following options: <i>checksum<\/i>, <i>index\u2212out<\/i>, <i>out<\/i>, <i>pause<\/i> and <i>select\u2212file<\/i>.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">Using <i>log<\/i> option, you can dynamically start logging or change log file. To stop logging, give empty string(&#8220;&#8221;) as a parameter value. Note that log file is always opened in append mode. This method returns <b>OK<\/b> for success.<\/p>\n<p style=\"margin-left:11%;\"><b>aria2.getGlobalStat()<\/b><\/p>\n<p style=\"margin-left:22%;\">This method returns global statistics such as overall download and upload speed. The response is of type struct and contains following keys. The value type is string. <b><br \/> downloadSpeed<\/b><\/p>\n<p style=\"margin-left:32%;\">Overall download speed (byte\/sec).<\/p>\n<p style=\"margin-left:22%;\"><b>uploadSpeed<\/b><\/p>\n<p style=\"margin-left:32%;\">Overall upload speed(byte\/sec).<\/p>\n<p style=\"margin-left:22%;\"><b>numActive<\/b><\/p>\n<p style=\"margin-left:32%;\">The number of active downloads.<\/p>\n<p style=\"margin-left:22%;\"><b>numWaiting<\/b><\/p>\n<p style=\"margin-left:32%;\">The number of waiting downloads.<\/p>\n<p style=\"margin-left:22%;\"><b>numStopped<\/b><\/p>\n<p style=\"margin-left:32%;\">The number of stopped downloads.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>JSON\u2212RPC EXEMPLO M270<\/b><\/p>\n<pre style=\"margin-left:26%; margin-top: 1em\">>>> import urllib2, json >>> from pprint import pprint >>> jsonreq = json.dumps({'jsonrpc':'2.0', 'id':'qwer', ... 'method':'aria2.getGlobalStat'}) >>> c = urllib2.urlopen('http:\/\/localhost:6800\/jsonrpc', jsonreq) >>> pprint(json.loads(c.read())) {u'id': u'qwer', u'jsonrpc': u'2.0', u'result': {u'downloadSpeed': u'21846', u'numActive': u'2', u'numStopped': u'0', u'numWaiting': u'0', u'uploadSpeed': u'0'}}<\/pre>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>XML\u2212RPC EXEMPLO M280<\/b><\/p>\n<pre style=\"margin-left:26%; margin-top: 1em\">>>> import xmlrpclib >>> from pprint import pprint >>> s = xmlrpclib.ServerProxy('http:\/\/localhost:6800\/rpc') >>> r = s.aria2.getGlobalStat() >>> pprint(r) {'downloadSpeed': '23136', 'numActive': '2', 'numStopped': '0', 'numWaiting': '0', 'uploadSpeed': '0'}<\/pre>\n<p style=\"margin-left:11%;\"><b>aria2.purgeDownloadResult()<\/b><\/p>\n<p style=\"margin-left:22%;\">This method purges completed\/error\/removed downloads to free memory. This method returns <b>OK<\/b>.<\/p>\n<p style=\"margin-left:11%;\"><b>aria2.removeDownloadResult(gid)<\/b><\/p>\n<p style=\"margin-left:22%;\">This method removes completed\/error\/removed download denoted by <i>gid<\/i> from memory. This method returns <b>OK<\/b> for success.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">The following examples remove the download result of the download GID#2089b05ecca3d829.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>JSON\u2212RPC EXEMPLO M290<\/b><\/p>\n<pre style=\"margin-left:26%; margin-top: 1em\">>>> import urllib2, json >>> from pprint import pprint >>> jsonreq = json.dumps({'jsonrpc':'2.0', 'id':'qwer', ... 'method':'aria2.removeDownloadResult', ... 'params':['2089b05ecca3d829']}) >>> c = urllib2.urlopen('http:\/\/localhost:6800\/jsonrpc', jsonreq) >>> pprint(json.loads(c.read())) {u'id': u'qwer', u'jsonrpc': u'2.0', u'result': u'OK'}<\/pre>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>XML\u2212RPC EXEMPLO M300<\/b><\/p>\n<pre style=\"margin-left:26%; margin-top: 1em\">>>> import xmlrpclib >>> s = xmlrpclib.ServerProxy('http:\/\/localhost:6800\/rpc') >>> s.aria2.removeDownloadResult('2089b05ecca3d829') 'OK'<\/pre>\n<p style=\"margin-left:11%;\"><b>aria2.getVersion()<\/b><\/p>\n<p style=\"margin-left:22%;\">This method returns version of the program and the list of enabled features. The response is of type struct and contains following keys. <b><br \/> version<\/b><\/p>\n<p style=\"margin-left:32%;\">Version number of the program in string.<\/p>\n<p style=\"margin-left:22%;\"><b>enabledFeatures<\/b><\/p>\n<p style=\"margin-left:32%;\">List of enabled features. Each feature name is of type string.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>JSON\u2212RPC EXEMPLO M310<\/b><\/p>\n<pre style=\"margin-left:26%; margin-top: 1em\">>>> import urllib2, json >>> from pprint import pprint >>> jsonreq = json.dumps({'jsonrpc':'2.0', 'id':'qwer', ... 'method':'aria2.getVersion'}) >>> c = urllib2.urlopen('http:\/\/localhost:6800\/jsonrpc', jsonreq) >>> pprint(json.loads(c.read())) {u'id': u'qwer', u'jsonrpc': u'2.0', u'result': {u'enabledFeatures': [u'Async DNS', u'BitTorrent', u'Firefox3 Cookie', u'GZip', u'HTTPS', u'Message Digest', u'Metalink', u'XML\u2212RPC'], u'version': u'1.11.0'}}<\/pre>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>XML\u2212RPC EXEMPLO M320<\/b><\/p>\n<pre style=\"margin-left:26%; margin-top: 1em\">>>> import xmlrpclib >>> from pprint import pprint >>> s = xmlrpclib.ServerProxy('http:\/\/localhost:6800\/rpc') >>> r = s.aria2.getVersion() >>> pprint(r) {'enabledFeatures': ['Async DNS', 'BitTorrent', 'Firefox3 Cookie', 'GZip', 'HTTPS', 'Message Digest', 'Metalink', 'XML\u2212RPC'], 'version': '1.11.0'}<\/pre>\n<p style=\"margin-left:11%;\"><b>aria2.getSessionInfo()<\/b><\/p>\n<p style=\"margin-left:22%;\">This method returns session information. The response is of type struct and contains following key. <b><br \/> sessionId<\/b><\/p>\n<p style=\"margin-left:32%;\">Session ID, which is generated each time when aria2 is invoked.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>JSON\u2212RPC EXEMPLO M330<\/b><\/p>\n<pre style=\"margin-left:26%; margin-top: 1em\">>>> import urllib2, json >>> from pprint import pprint >>> jsonreq = json.dumps({'jsonrpc':'2.0', 'id':'qwer', ... 'method':'aria2.getSessionInfo'}) >>> c = urllib2.urlopen('http:\/\/localhost:6800\/jsonrpc', jsonreq) >>> pprint(json.loads(c.read())) {u'id': u'qwer', u'jsonrpc': u'2.0', u'result': {u'sessionId': u'cd6a3bc6a1de28eb5bfa181e5f6b916d44af31a9'}}<\/pre>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>XML\u2212RPC EXEMPLO M340<\/b><\/p>\n<pre style=\"margin-left:26%; margin-top: 1em\">>>> import xmlrpclib >>> s = xmlrpclib.ServerProxy('http:\/\/localhost:6800\/rpc') >>> s.aria2.getSessionInfo() {'sessionId': 'cd6a3bc6a1de28eb5bfa181e5f6b916d44af31a9'}<\/pre>\n<p style=\"margin-left:11%;\"><b>aria2.shutdown()<\/b><\/p>\n<p style=\"margin-left:22%;\">This method shutdowns aria2. This method returns <b>OK<\/b>.<\/p>\n<p style=\"margin-left:11%;\"><b>aria2.forceShutdown()<\/b><\/p>\n<p style=\"margin-left:22%;\">This method shutdowns <b>aria2. This method behaves like aria2.shutdown()<\/b> except that any actions which takes time such as contacting BitTorrent tracker are skipped. This method returns <b>OK<\/b>.<\/p>\n<p style=\"margin-left:11%;\"><b>system.multicall(methods)<\/b><\/p>\n<p style=\"margin-left:22%;\">This methods encapsulates multiple method calls in a single request. <i>methods<\/i> is of type array and its element is struct. The struct contains two keys: <b>methodName<\/b> and <b>params<\/b>. <b>methodName<\/b> is the method name to call and <b>params<\/b> is array containing parameters to the method. This method returns array of responses. The element of array will either be a one\u2212item array containing the return value of each method call or struct of fault element if an encapsulated method call fails.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">In the following examples, we add 2 downloads. First one is <b>http:\/\/example.org\/file<\/b> and second one is <b>file.torrent<\/b>.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>JSON\u2212RPC EXEMPLO M350<\/b><\/p>\n<pre style=\"margin-left:26%; margin-top: 1em\">>>> import urllib2, json, base64 >>> from pprint import pprint >>> jsonreq = json.dumps({'jsonrpc':'2.0', 'id':'qwer', ... 'method':'system.multicall', ... 'params':[[{'methodName':'aria2.addUri', ... 'params':[['http:\/\/example.org']]}, ... {'methodName':'aria2.addTorrent', ... 'params':[base64.b64encode(open('file.torrent').read())]}]]}) >>> c = urllib2.urlopen('http:\/\/localhost:6800\/jsonrpc', jsonreq) >>> pprint(json.loads(c.read())) {u'id': u'qwer', u'jsonrpc': u'2.0', u'result': [[u'2089b05ecca3d829'], [u'd2703803b52216d1']]}<\/pre>\n<p style=\"margin-left:22%; margin-top: 1em\">JSON\u2212RPC also supports Batch request described in JSON\u2212RPC 2.0 Specification:<\/p>\n<pre style=\"margin-left:26%; margin-top: 1em\">>>> jsonreq = json.dumps([{'jsonrpc':'2.0', 'id':'qwer', ... 'method':'aria2.addUri', ... 'params':[['http:\/\/example.org']]}, ... {'jsonrpc':'2.0', 'id':'asdf', ... 'method':'aria2.addTorrent', ... 'params':[base64.b64encode(open('file.torrent').read())]}]) >>> c = urllib2.urlopen('http:\/\/localhost:6800\/jsonrpc', jsonreq) >>> pprint(json.loads(c.read())) [{u'id': u'qwer', u'jsonrpc': u'2.0', u'result': u'2089b05ecca3d829'}, {u'id': u'asdf', u'jsonrpc': u'2.0', u'result': u'd2703803b52216d1'}]<\/pre>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>XML\u2212RPC EXEMPLO M360<\/b><\/p>\n<pre style=\"margin-left:26%; margin-top: 1em\">>>> import xmlrpclib >>> s = xmlrpclib.ServerProxy('http:\/\/localhost:6800\/rpc') >>> mc = xmlrpclib.MultiCall(s) >>> mc.aria2.addUri(['http:\/\/example.org\/file']) >>> mc.aria2.addTorrent(xmlrpclib.Binary(open('file.torrent').read())) >>> r = mc() >>> tuple(r) ('2089b05ecca3d829', 'd2703803b52216d1')<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Tratamento de Erros<\/b> <br \/> Usando JSON\u2212RPC, aria2 retorna objeto JSON que cont\u00c3\u00a9m c\u00c3\u00b3digo de erro no c\u00c3\u00b3digo e a mensagem de erro na mensagem.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Usando XML\u2212RPC, aria2 retorna c\u00c3\u00b3digo de falha (faultCode=1) e a mensagem de erro em (faultString).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Op\u00c3\u00a7\u00c3\u00b5es<\/b> <br \/> Same options for <i>\u2212\u2212input\u2212file<\/i> list are available. Ver subse\u00c3\u00a7\u00c3\u00a3o <i>Arquivo de Entrada<\/i> para lista completa de op\u00c3\u00a7\u00c3\u00b5es.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">In the option struct, name element is option name(without preceding <b>\u2212\u2212<\/b>) and value element is argument as string.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>EXEMPLO JSON\u2212RPC M370<\/b><\/p>\n<pre style=\"margin-left:15%;\">{'split':'1', 'http\u2212proxy':'http:\/\/proxy\/'}<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>EXEMPLO XML\u2212RPC M380<\/b><\/p>\n<pre style=\"margin-left:15%;\"><struct> <member> <name>split<\/name> <value><string>1<\/string><\/value> <\/member> <member> <name>http\u2212proxy<\/name> <value><string>http:\/\/proxy\/<\/string><\/value> <\/member> <\/struct><\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>header<\/i> and <i>index\u2212out<\/i> option are allowed multiple times in command\u2212line. Since name should be unique in struct(many XML\u2212RPC library implementation uses hash or dict for struct), single string is not enough. To overcome this situation, they can take array as value as well as string.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>EXEMPLO JSON\u2212RPC M390<\/b><\/p>\n<pre style=\"margin-left:15%;\">{'header':['Accept\u2212Language: ja', 'Accept\u2212Charset: utf\u22128']}<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>EXEMPLO XML\u2212RPC M400<\/b><\/p>\n<pre style=\"margin-left:15%;\"><struct> <member> <name>header<\/name> <value> <array> <data> <value><string>Accept\u2212Language: ja<\/string><\/value> <value><string>Accept\u2212Charset: utf\u22128<\/string><\/value> <\/data> <\/array> <\/value> <\/member> <\/struct><\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\">Following example adds a download with 2 options: dir and header. header option has 2 values, so it uses a list:<\/p>\n<pre style=\"margin-left:15%; margin-top: 1em\">>>> import xmlrpclib >>> s = xmlrpclib.ServerProxy('http:\/\/localhost:6800\/rpc') >>> opts = dict(dir='\/tmp', ... header=['Accept\u2212Language: ja', ... 'Accept\u2212Charset: utf\u22128']) >>> s.aria2.addUri(['http:\/\/example.org\/file'], opts) '1'<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>JSON\u2212RPC usando HTTP GET<\/b> <br \/> The JSON\u2212RPC interface also supports request via HTTP GET. The encoding scheme in GET parameters is based on JSON\u2212RPC over HTTP Specification [2008\u22121\u221215(RC1)]. The encoding of GET parameters are follows:<\/p>\n<pre style=\"margin-left:15%; margin-top: 1em\">\/jsonrpc?method=METHOD_NAME&id=ID&params=BASE64_ENCODED_PARAMS<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\">The <b>method<\/b> and <b>id<\/b> are always treated as JSON string and their encoding must be UTF\u22128.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">For example, The encoded string of <b>aria2.tellStatus(&#8216;2089b05ecca3d829&#8217;)<\/b> with <b>id=&#8217;foo&#8217;<\/b> looks like this:<\/p>\n<pre style=\"margin-left:15%; margin-top: 1em\">\/jsonrpc?method=aria2.tellStatus&id=foo&params=WyIyMDg5YjA1ZWNjYTNkODI5Il0%3D<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\">The <b>params<\/b> parameter is Base64\u2212encoded JSON array which usually appears in <b>params<\/b> attribute in JSON\u2212RPC request object. In the above example, the params is <b>[&#8220;2089b05ecca3d829&#8221;]<\/b>, therefore:<\/p>\n<pre style=\"margin-left:15%; margin-top: 1em\">[\"2089b05ecca3d829\"] \u2212\u2212(Base64)\u2212\u2212> WyIyMDg5YjA1ZWNjYTNkODI5Il0= \u2212\u2212(Percent Encode)\u2212\u2212> WyIyMDg5YjA1ZWNjYTNkODI5Il0%3D<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\">The JSON\u2212RPC interface supports JSONP. You can specify the callback function in <b>jsoncallback<\/b> parameter:<\/p>\n<pre style=\"margin-left:15%; margin-top: 1em\">\/jsonrpc?method=aria2.tellStatus&id=foo&params=WyIyMDg5YjA1ZWNjYTNkODI5Il0%3D&jsoncallback=cb<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\">For Batch request, <b>method<\/b> and <b>id<\/b> parameter must not be specified. Whole request must be specified in <b>params<\/b> parameter. For example, Batch request:<\/p>\n<pre style=\"margin-left:15%; margin-top: 1em\">[{'jsonrpc':'2.0', 'id':'qwer', 'method':'aria2.getVersion'}, {'jsonrpc':'2.0', 'id':'asdf', 'method':'aria2.tellActive'}]<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\">will be encoded like this:<\/p>\n<pre style=\"margin-left:15%; margin-top: 1em\">\/jsonrpc?params=W3sianNvbnJwYyI6ICIyLjAiLCAiaWQiOiAicXdlciIsICJtZXRob2QiOiAiYXJpYTIuZ2V0VmVyc2lvbiJ9LCB7Impzb25ycGMiOiAiMi4wIiwgImlkIjogImFzZGYiLCAibWV0aG9kIjogImFyaWEyLnRlbGxBY3RpdmUifV0%3D<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>JSON\u2212RPC sobre WebSocket<\/b> <br \/> JSON\u2212RPC sobre WebSocket utiliza o mesmo m\u00c3\u00a9todo de assinatura e resposta do formato JSON\u2212RPC sobre HTTP. O WebSocket suportado \u00c3\u00a9 da vers\u00c3\u00a3o 13 o qual \u00c3\u00a9 detalhado na <i>RFC 6455<\/i>.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Para enviar uma requisi\u00c3\u00a7\u00c3\u00a3o RPC para um servidor RPC, enviar strings serializadas JSON num frame Text. A resposta do servidor RPC ser\u00c3\u00a1 entregue tamb\u00c3\u00a9m em um frame Text.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">O servidor RPC ira enviar a notifica\u00c3\u00a7\u00c3\u00a3o ao cliente. A notifica\u00c3\u00a7\u00c3\u00a3o \u00c3\u00a9 unidirecional, portanto o cliente que receber a notifica\u00c3\u00a7\u00c3\u00a3o n\u00c3\u00a3o pode responde\u2212la. Esse m\u00c3\u00a9todo de assinatura de notifica\u00c3\u00a7\u00c3\u00a3o \u00c3\u00a9 muito usual mas n\u00c3\u00a3o prov\u00c3\u00aa uma identifica\u00c3\u00a7\u00c3\u00a3o de chave. Os valores associados pelos par\u00c3\u00a2metros chave s\u00c3\u00a3o os dados que a notifica\u00c3\u00a7\u00c3\u00a3o porta. O formato desses valores variam dependendo do m\u00c3\u00a9todo de notifica\u00c3\u00a7\u00c3\u00a3o. Os seguintes m\u00c3\u00a9todos de notifica\u00c3\u00a7\u00c3\u00a3o s\u00c3\u00a3o definidos: <b><br \/> aria2.onDownloadStart(event)<\/b><\/p>\n<p style=\"margin-left:22%;\">Essa notifica\u00c3\u00a7\u00c3\u00a3o ser\u00c3\u00a1 enviada quando e se o download for iniciado. <i>event<\/i> \u00c3\u00a9 o tipo de estrutura e pode conter as seguintes chaves: O formato do valor \u00c3\u00a9 string.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"4%\">\n<p><b>gid<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"25%\">\n<p>GID do download.<\/p>\n<\/td>\n<td width=\"43%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>aria2.onDownloadPause(event)<\/b><\/p>\n<p style=\"margin-left:22%;\">Esta notifica\u00c3\u00a7\u00c3\u00a3o ser\u00c3\u00a1 enviada se o download for pausado. <i>event<\/i> tem a mesma estrutura do argumento <i>event<\/i> do m\u00c3\u00a9todo da fun\u00c3\u00a7\u00c3\u00a3o <i>aria2.onDownloadStart()<\/i>.<\/p>\n<p style=\"margin-left:11%;\"><b>aria2.onDownloadStop(event)<\/b><\/p>\n<p style=\"margin-left:22%;\">Essa notifica\u00c3\u00a7\u00c3\u00a3o ser\u00c3\u00a1 enviada se o download for interrompido pelo usu\u00c3\u00a1rio. <i>event<\/i> tem a mesma estrutura do argumento <i>event<\/i> do m\u00c3\u00a9todo da fun\u00c3\u00a7\u00c3\u00a3o <i>aria2.onDownloadStart()<\/i>.<\/p>\n<p style=\"margin-left:11%;\"><b>aria2.onDownloadComplete(event)<\/b><\/p>\n<p style=\"margin-left:22%;\">Esta notifica\u00c3\u00a7\u00c3\u00a3o ser\u00c3\u00a1 enviada quando o download for completado. Para downloads BitTorrent, esta notifica\u00c3\u00a7\u00c3\u00a3o ser\u00c3\u00a1 enviada quando for completado e o (seed) terminar. O <i>event<\/i> tem a mesma estrutura do <i>event<\/i> do m\u00c3\u00a9todo da fun\u00c3\u00a7\u00c3\u00a3o <i>aria2.onDownloadStart()<\/i>.<\/p>\n<p style=\"margin-left:11%;\"><b>aria2.onDownloadError(event)<\/b><\/p>\n<p style=\"margin-left:22%;\">Esta notifica\u00c3\u00a7\u00c3\u00a3o ser\u00c3\u00a1 enviada se o download for interrompido por causa de um erro. O <i>event<\/i> tem a mesma estrutura do <i>event<\/i> do m\u00c3\u00a9todo da fun\u00c3\u00a7\u00c3\u00a3o <i>aria2.onDownloadStart()<\/i>.<\/p>\n<p style=\"margin-left:11%;\"><b>aria2.onBtDownloadComplete(event)<\/b><\/p>\n<p style=\"margin-left:22%;\">Esta notifica\u00c3\u00a7\u00c3\u00a3o ser\u00c3\u00a1 enviada se o download for completado para o BitTorrent (mas o seeding pode n\u00c3\u00a3o ter sido conclu\u00c3do). O <i>event<\/i> tem a mesma estrutura do <i>event<\/i> do m\u00c3\u00a9todo da fun\u00c3\u00a7\u00c3\u00a3o <i>aria2.onDownloadStart()<\/i>.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Exemplo Cliente XML\u2212RPC Ruby<\/b> <br \/> O seguinte script Ruby script adiciona <b>http:\/\/localhost\/aria2.tar.bz2<\/b> em aria2c no servidor em localhost com a op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212dir=\/downloads<\/i> e imprime a resposta do processamento:<\/p>\n<pre style=\"margin-left:15%; margin-top: 1em\">#!\/usr\/bin\/env ruby require 'xmlrpc\/client' require 'pp' client=XMLRPC::Client.new2(\"http:\/\/localhost:6800\/rpc\") options={ \"dir\" => \"\/downloads\" } result=client.call(\"aria2.addUri\", [ \"http:\/\/localhost\/aria2.tar.bz2\" ], options) pp result<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\">Se voc\u00c3\u00aa usa Python, pode usar xmlrpclib (em Python3.x, use xmlrpc.client) para interagir com aria2:<\/p>\n<pre style=\"margin-left:15%; margin-top: 1em\">import xmlrpclib from pprint import pprint s = xmlrpclib.ServerProxy(\"http:\/\/localhost:6800\/rpc\") r = s.aria2.addUri([\"http:\/\/localhost\/aria2.tar.bz2\"], {\"dir\":\"\/downloads\"}) pprint(r)<\/pre>\n<h2>DIVERSOS <a name=\"DIVERSOS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Mensagens na Console<\/b> <br \/> Enquanto executa o download de arquivos, aria2 imprime mensagens na console para mostrar o progresso dos downloads. Um exemplo abaixo:<\/p>\n<pre style=\"margin-left:15%; margin-top: 1em\">[#1 SIZE:400.0KiB\/33.2MiB(1%) CN:1 SPD:115.7KiBs ETA:4m51s]<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\">Entenda o que estes n\u00c3\u00bameros e strings significam.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"6%\">\n<p><b>#N<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"78%\">\n<p>N significa GID, o qual \u00c3\u00a9 um ID \u00c3\u00banico para cada download.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"6%\">\n<p><b>SIZE<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"78%\">\n<p>Tamanho Total e Tamanho em bytes. Se a <i>\u2212\u2212select\u2212file<\/i> \u00c3\u00a9 usada, ser\u00c3\u00a1 exibida a somat\u00c3\u00b3ria do tamanho do arquivo.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>SEEDING<\/b><\/p>\n<p style=\"margin-left:22%;\">Taxa compartilhamento ratio. O cliente est\u00c3\u00a1 funcionando. Ap\u00c3\u00b3s t\u00c3\u00a9rmino do download do BitTorrent, <b>SIZE<\/b> ser\u00c3\u00a1 substitu\u00c3do por <b>SEEDING<\/b>.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"6%\">\n<p><b>CN<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"78%\">\n<p>N\u00c3\u00bamero de conex\u00c3\u00b5es que o cliente estabeleceu.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"6%\">\n<p><b>SEED<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"78%\">\n<p>O n\u00c3\u00bamero de seeders ao qual o cliente est\u00c3\u00a1 conectado.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"6%\">\n<p><b>SPD<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"78%\">\n<p>Velocidade do download.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"6%\">\n<p><b>UP<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"78%\">\n<p>Velocidade e n\u00c3\u00bamero de bytes transmitidos upload.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"6%\">\n<p><b>ETA<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"78%\">\n<p>Tempo previsto para conclus\u00c3\u00a3o.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>TOTAL SPD<\/b><\/p>\n<p style=\"margin-left:22%;\">A soma das velocidades de download para todos downloads paralelos.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Quando aria2 est\u00c3\u00a1 alocando o espa\u00c3\u00a7o para arquivo ou validando o checksum, adicionalmente exibir\u00c3\u00a1 o progresso: <b><br \/> FileAlloc<\/b><\/p>\n<p style=\"margin-left:22%;\">GID, tamanho alocado e total em bytes.<\/p>\n<p style=\"margin-left:11%;\"><b>Checksum<\/b><\/p>\n<p style=\"margin-left:22%;\">GID, tamanho validado e total em bytes.<\/p>\n<h2>EXEMPLOS DOWNLOAD HTTP \/ FTP <a name=\"EXEMPLOS DOWNLOAD HTTP \/ FTP\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Download Segmentado HTTP\/FTP <br \/> Download de arquivo<\/b><\/p>\n<pre style=\"margin-left:15%;\">$ aria2c \"http:\/\/servidor\/arquivo.zip\"<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>NOTA:<\/b><\/p>\n<p style=\"margin-left:15%;\">Para parar o download, pressione <b>Ctrl\u2212C<\/b>. Posteriormente pode ser retomado o mesmo download no mesmo diret\u00c3\u00b3rio. Podem ser modificadas as URIs pois elas apontam para o mesmo arquivo.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Download de arquivo de 2 servidores HTTP diferentes<\/b><\/p>\n<pre style=\"margin-left:15%;\">$ aria2c \"http:\/\/servidor\/arquivo.zip\" \"http:\/\/espelhobrasil\/arquivo.zip\"<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Download de arquivo do mesmo servidor HTTP usando 2 conex\u00c3\u00b5es<\/b><\/p>\n<pre style=\"margin-left:15%;\">$ aria2c \u2212x2 \u2212k1M \"http:\/\/servidorbrasil\/arquivo.zip\"<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Download de arquivo de servidor HTTP e FTP<\/b><\/p>\n<pre style=\"margin-left:15%;\">$ aria2c \"http:\/\/svrbrasil\/arquivo.zip\" \"ftp:\/\/servebr\/arquivo.zip\"<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Download arquivos especificados num arquivo txt concomitantemente<\/b><\/p>\n<pre style=\"margin-left:15%;\">$ aria2c \u2212i arquivo.txt \u2212j2<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>NOTA:<\/b><\/p>\n<p style=\"margin-left:15%;\">\u2212j especifica n\u00c3\u00bamero de downloads paralelos.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Usando proxy<\/b> <br \/> Para HTTP:<\/p>\n<pre style=\"margin-left:15%; margin-top: 1em\">$ aria2c \u2212\u2212http\u2212proxy=\"http:\/\/svrproxy:8080\" \"http:\/\/servidor\/arquivo\" $ aria2c \u2212\u2212http\u2212proxy=\"http:\/\/svrproxy:8080\" \u2212\u2212no\u2212proxy=\"localhost,127.0.0.1,192.168.0.0\/16\" \"http:\/\/servidor\/arquivo\" a m\u00c3\u00a1scara de rede \/16 quer dizer que para toda a rede 192.168 tamb\u00c3\u00a9m n\u00c3\u00a3o ser\u00c3\u00a1 usado o servidor proxy<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\">Para FTP:<\/p>\n<pre style=\"margin-left:15%; margin-top: 1em\">$ aria2c \u2212\u2212ftp\u2212proxy=\"http:\/\/svrproxy:8080\" \"ftp:\/\/servidor\/arquivo\"<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>NOTA:<\/b><\/p>\n<p style=\"margin-left:15%;\">Ver <i>\u2212\u2212http\u2212proxy<\/i>, <i>\u2212\u2212https\u2212proxy<\/i>, <i>\u2212\u2212ftp\u2212proxy<\/i>, <i>\u2212\u2212all\u2212proxy<\/i> e <i>\u2212\u2212no\u2212proxy<\/i> para detalhes. Proxy pode ser especificado nas vari\u00c3\u00a1veis de ambiente. Ver se\u00c3\u00a7\u00c3\u00a3o <i>VARI\u00c3VEIS DE AMBIENTE<\/i> .<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Proxy com autentica\u00c3\u00a7\u00c3\u00a3o \/ autoriza\u00c3\u00a7\u00c3\u00a3o<\/b><\/p>\n<pre style=\"margin-left:15%;\">$ aria2c \u2212\u2212http\u2212proxy=\"http:\/\/usu\u00c3\u00a1rio:senha@svrproxy:8080\" \"http:\/\/servidor\/arquivo\" $ aria2c \u2212\u2212http\u2212proxy=\"http:\/\/svrproxy:8080\" \u2212\u2212http\u2212proxy\u2212user=\"usu\u00c3\u00a1rio\" \u2212\u2212http\u2212proxy\u2212passwd=\"senha\" \"http:\/\/servidor\/arquivo\"<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Download Metalink <br \/> Download arquivos com Metalink remoto<\/b><\/p>\n<pre style=\"margin-left:15%;\">$ aria2c \u2212\u2212follow\u2212metalink=mem \"http:\/\/servidor\/arquivo.metalink\"<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Download arquivos com Metalink local<\/b><\/p>\n<pre style=\"margin-left:15%;\">$ aria2c \u2212p \u2212\u2212lowest\u2212speed\u2212limit=4000 arquivo.metalink<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>NOTA:<\/b><\/p>\n<p style=\"margin-left:15%;\">Para parar o download, pressione <b>Ctrl\u2212C<\/b>. A transfer\u00c3\u00aancia pode ser retomada executando aria2c com o mesmo argumento no mesmo diret\u00c3\u00b3rio<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Download diversos arquivos Metalink local<\/b><\/p>\n<pre style=\"margin-left:15%;\">$ aria2c \u2212j2 arquivo1.metalink arquivo2.metalink<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Download s\u00c3\u00b3 arquivos selecionados usando index<\/b><\/p>\n<pre style=\"margin-left:15%;\">$ aria2c \u2212\u2212select\u2212file=1\u22124,8 arquivo.metalink<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>NOTA:<\/b><\/p>\n<p style=\"margin-left:15%;\">O index \u00c3\u00a9 exibido na console usando op\u00c3\u00a7\u00c3\u00a3o \u2212S.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Download um arquivo usando Metalink local com prefer\u00c3\u00aancia do usu\u00c3\u00a1rio<\/b><\/p>\n<pre style=\"margin-left:15%;\">$ aria2c \u2212\u2212metalink\u2212location=pt,us \u2212\u2212metalink\u2212version=1.1 \u2212\u2212metalink\u2212language=pt\u2212BR arquivo.metalink<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Download BitTorrent <br \/> Download arquivos de BitTorrent remotos<\/b><\/p>\n<pre style=\"margin-left:15%;\">$ aria2c \u2212\u2212follow\u2212torrent=mem \"http:\/\/servidortorrent\/arquivo.torrent\"<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Download usando arquivo torrent local<\/b><\/p>\n<pre style=\"margin-left:15%;\">$ aria2c \u2212\u2212max\u2212upload\u2212limit=40K arquivo.torrent<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>NOTA:<\/b><\/p>\n<p style=\"margin-left:15%;\">\u2212\u2212max\u2212upload\u2212limit especifica taxa m\u00c3\u00a1xima de transmiss\u00c3\u00a3o (upload).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>NOTA:<\/b><\/p>\n<p style=\"margin-left:15%;\">Para parar o download, pressione <b>Ctrl\u2212C<\/b>. A transfer\u00c3\u00aancia pode ser retomada ao executar aria2c com os mesmos argumentos no mesmo diret\u00c3\u00b3rio.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Download usando URI BitTorrent Magnet<\/b><\/p>\n<pre style=\"margin-left:15%;\">$ aria2c \"magnet:?xt=urn:btih:248D0A1CD08284299DE78D5C1ED359BB46717D8C&dn=aria2\"<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>NOTA:<\/b><\/p>\n<p style=\"margin-left:15%;\">Lembre\u2212se inserir delimitadores na URI BitTorrent Magnet, pois ela inclui <b>&#038;<\/b> que tem significado de par\u00c3\u00a2metro. Utilizar ap\u00c3\u00b3strofo(<b>&#8216;<\/b>) ou aspas(<b>&#8220;<\/b>).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Download 2 torrents<\/b><\/p>\n<pre style=\"margin-left:15%;\">$ aria2c \u2212j2 arquivo1.torrent arquivo2.torrent<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Download um arquivo usando torrent e servidor HTTP\/FTP<\/b><\/p>\n<pre style=\"margin-left:15%;\">$ aria2c \u2212T arqfile.torrent \"http:\/\/serv1\/arqfile\" \"ftp:\/\/svr2\/arqfile\"<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>NOTA:<\/b><\/p>\n<p style=\"margin-left:15%;\">Download de arquivos m\u00c3\u00baltiplos torrent com HTTP e FTP n\u00c3\u00a3o \u00c3\u00a9 suportado.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Download arquivos selecionados usando index(chamado download seletivo )<\/b><\/p>\n<pre style=\"margin-left:15%;\">$ aria2c \u2212\u2212select\u2212file=1\u22124,8 arquivo.torrent<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>NOTA:<\/b><\/p>\n<p style=\"margin-left:15%;\">O index \u00c3\u00a9 exibido na console usando\u2212se a op\u00c3\u00a7\u00c3\u00a3o \u2212S.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Especificar arquivo sa\u00c3da<\/b> <br \/> Para especificar arquivo de sa\u00c3da em Downloads de BitTorrent, faz\u2212se necess\u00c3\u00a1rio conhecer o index do arquivo no torrent usando a op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212show\u2212files<\/i>. Por exemplo, a sa\u00c3da exibir\u00c3\u00a1 algo como:<\/p>\n<pre style=\"margin-left:15%; margin-top: 1em\">idx|path\/length ===+====================== 1|dist\/base\u22122.6.18.iso |99.9MiB \u2212\u2212\u2212+\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212 2|dist\/driver\u22122.6.18.iso |169.0MiB \u2212\u2212\u2212+\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212\u2212<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\">Para salvar &#8216;dist\/base\u22122.6.18.iso&#8217; em &#8216;\/tmp\/meudir\/base.iso&#8217; e &#8216;dist\/driver\u22122.6.18.iso&#8217; em &#8216;\/tmp\/dir\/driver.iso&#8217;, use o seguinte comando:<\/p>\n<pre style=\"margin-left:15%; margin-top: 1em\">$ aria2c \u2212\u2212dir=\/tmp \u2212\u2212index\u2212out=1=meudir\/base.iso \u2212\u2212index\u2212out=2=dir\/driver.iso arquivo.torrent<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Modificar porta escuta para peer de entrada<\/b><\/p>\n<pre style=\"margin-left:15%;\">$ aria2c \u2212\u2212listen\u2212port=7000\u22127001,8000 arquivo.torrent<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>NOTA:<\/b><\/p>\n<p style=\"margin-left:15%;\">J\u00c3\u00a1 que aria2 n\u00c3\u00a3o configura o firewall ou porta de roteamento para portas de encaminhamento, isto deve ser explicitado manualmente por voc\u00c3\u00aa.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Especificar condi\u00c3\u00a7\u00c3\u00a3o para para o programa torrent ap\u00c3\u00b3s t\u00c3\u00a9rmino do download<\/b><\/p>\n<pre style=\"margin-left:15%;\">$ aria2c \u2212\u2212seed\u2212time=120 \u2212\u2212seed\u2212ratio=1.0 arquivo.torrent<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>NOTA:<\/b><\/p>\n<p style=\"margin-left:15%;\">No exemplo acima, o programa termina ap\u00c3\u00b3s transcorrer 120 minutos ap\u00c3\u00b3s t\u00c3\u00a9rmino do download ou taxa chegar a 1.0.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Controlar velocidade upload Torrent<\/b><\/p>\n<pre style=\"margin-left:15%;\">$ aria2c \u2212\u2212max\u2212upload\u2212limit=100K arquivo.torrent<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Habilitar IPv4 DHT<\/b><\/p>\n<pre style=\"margin-left:15%;\">$ aria2c \u2212\u2212enable\u2212dht \u2212\u2212dht\u2212listen\u2212port=6881 arquivo.torrent<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>NOTA:<\/b><\/p>\n<p style=\"margin-left:15%;\">DHT utiliza a porta udp, como o aria2 n\u00c3\u00a3o configura firewall nem porta de roteamento ou forwarding, por favor executar estas configura\u00c3\u00a7\u00c3\u00b5es manualmente.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Habilitar IPv6 DHT<\/b><\/p>\n<pre style=\"margin-left:15%;\">$ aria2c \u2212\u2212enable\u2212dht6 \u2212\u2212dht\u2212listen\u2212port=6881 \u2212\u2212dht\u2212listen\u2212addr6=YOUR_GLOBAL_UNICAST_IPV6_ADDR \u2212\u2212enable\u2212async\u2212dns6<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>NOTA:<\/b><\/p>\n<p style=\"margin-left:15%;\">Se aria2c n\u00c3\u00a3o foi compilado com c\u2212ares, a op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212enable\u2212async\u2212dns6<\/i> n\u00c3\u00a3o \u00c3\u00a9 necess\u00c3\u00a1ria. aria2 compartilha a mesma porta ente IPv4 e IPv6 DHT.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Adicionar e remover rastreador URI<\/b> <br \/> Remover todos os rastreadores (tracker) das URIs descritas no arquivo.torrent utilize <b>http:\/\/tracker1\/announce<\/b> e <b>http:\/\/tracker2\/announce<\/b><\/p>\n<pre style=\"margin-left:15%; margin-top: 1em\">$ aria2c \u2212\u2212bt\u2212exclude\u2212tracker=\"*\" \u2212\u2212bt\u2212tracker=\"http:\/\/tracker1\/announce,http:\/\/tracker2\/announce\" file.torrent<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Funcionalidades avan\u00c3\u00a7adas HTTP <br \/> Carregar cookies<\/b><\/p>\n<pre style=\"margin-left:15%;\">$ aria2c \u2212\u2212load\u2212cookies=cookies.txt \"http:\/\/servidor\/arquivo.zip\"<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>NOTA:<\/b><\/p>\n<p style=\"margin-left:15%;\">Podem ser utilizados sem nenhuma modifica\u00c3\u00a7\u00c3\u00a3o coookies dos navegadores: Firefox \/ Mozilla \/ Chromium.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Continuar download iniciado por navegadores ou outros programas<\/b><\/p>\n<p style=\"margin-left:15%;\">Quando desejar continuar ou retomar um download cujo processamento foi interrompido, seja em navegador ou qualquer outro programa utilize o aria2c para retomar este download do ponto onde parou.<\/p>\n<pre style=\"margin-left:15%; margin-top: 1em\">$ aria2c \u2212c \u2212s2 \"http:\/\/servidor\/arquivodedownloadparcial.zip\"<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Autentica\u00c3\u00a7\u00c3\u00a3o certificado para Cliente SSL\/TLS<\/b><\/p>\n<pre style=\"margin-left:15%;\">$ aria2c \u2212\u2212certificate=\/path\/para\/mycert.pem \u2212\u2212private\u2212key=\/path\/para\/mykey.pem https:\/\/servidor\/arquivo<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>NOTA:<\/b><\/p>\n<p style=\"margin-left:15%;\">O arquivo especificado na op\u00c3\u00a7\u00c3\u00a3o <i>\u2212\u2212private\u2212key<\/i> n\u00c3\u00a3o pode estar criptografado. O comportamento do processo fica indefinido quando o arquivo estiver criptografado.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Verificar peer em SSL\/TLS usando certificados CA<\/b><\/p>\n<pre style=\"margin-left:15%;\">$ aria2c \u2212\u2212ca\u2212certificate=\/path\/para\/ca\u2212certificates.crt \u2212\u2212check\u2212certificate https:\/\/servidor\/arquivo<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Funcionalidades avan\u00c3\u00a7adas adicionais <br \/> Controlar velocidade de download<\/b> <br \/> Quando for necess\u00c3\u00a1rio o controle da utiliza\u00c3\u00a7\u00c3\u00a3o da banda dispon\u00c3vel, pode ser utilizado a op\u00c3\u00a7\u00c3\u00a3o abaixo. Aten\u00c3\u00a7\u00c3\u00a3o o sufixo K ou M deve ser em letra mai\u00c3\u00bascula.<\/p>\n<pre style=\"margin-left:15%; margin-top: 1em\">$ aria2c \u2212\u2212max\u2212download\u2212limit=100K arquivo.metalink<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Reparar um download danificado<\/b><\/p>\n<pre style=\"margin-left:15%;\">$ aria2c \u2212V arquivo.metalink<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>NOTA:<\/b><\/p>\n<p style=\"margin-left:15%;\">Reparar downloads danificados pode ser mais eficiente usando BitTorrent ou Metalink com a op\u00c3\u00a7\u00c3\u00a3o verifica\u00c3\u00a7\u00c3\u00a3o (checksums).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Desconectar conex\u00c3\u00a3o se a velocidade download for menor que um valor<\/b><\/p>\n<pre style=\"margin-left:15%;\">$ aria2c \u2212\u2212lowest\u2212speed\u2212limit=10K file.metalink<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Suporte a URI parametrizada<\/b> <br \/> A URI pode ser especificada como partes de um conjunto:<\/p>\n<pre style=\"margin-left:15%; margin-top: 1em\">$ aria2c \u2212P \"http:\/\/{svr1,svr2,svr3}\/arquivo.iso\"<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\">Tamb\u00c3\u00a9m podem ser especificados sequencias de intervalos:<\/p>\n<pre style=\"margin-left:15%; margin-top: 1em\">$ aria2c \u2212Z \u2212P \"http:\/\/servidor\/imagem[000\u2212100].png\"<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>NOTA:<\/b><\/p>\n<p style=\"margin-left:15%;\">\u2212Z op\u00c3\u00a7\u00c3\u00a3o requerida para que todas URIs n\u00c3\u00a3o apontem para o mesmo arquivo, como declarado no c\u00c3\u00b3digo acima.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Especificar incrementos para contador:<\/p>\n<pre style=\"margin-left:15%; margin-top: 1em\">$ aria2c \u2212Z \u2212P \"http:\/\/servidor\/imagem[A\u2212Z:2].png\"<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Verificar valida\u00c3\u00a7\u00c3\u00a3o checksum<\/b><\/p>\n<pre style=\"margin-left:15%;\">$ aria2c \u2212\u2212checksum=sha\u22121=0192ba11326fe2298c8cb4de616f4d4140213837 http:\/\/dobrasil.org\/arquivo<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Download Paralelo de uma quantidade arbitr\u00c3\u00a1ria de URI, Metalink ou Torrent<\/b><\/p>\n<pre style=\"margin-left:15%;\">$ aria2c \u2212j3 \u2212Z \"http:\/\/servidor\/arquivo1\" arquivo2.torrent arq3.metalink<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>BitTorrent Criptografado<\/b> <br \/> Criptografar todo conjunto usando ARC4:<\/p>\n<pre style=\"margin-left:15%; margin-top: 1em\">$ aria2c \u2212\u2212bt\u2212min\u2212crypto\u2212level=arc4 \u2212\u2212bt\u2212require\u2212crypto=true arquivo.torrent<\/pre>\n<h2>VER TAMB\u00c3M <a name=\"VER TAMB\u00c3M\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Site do Projeto aria2: <i>https:\/\/aria2.github.io\/<\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Site do Projeto Metalink: <i>http:\/\/www.metalinker.org\/<\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Descri\u00c3\u00a7\u00c3\u00a3o do Formato Download Metalink: <i>RFC 5854<\/i><\/p>\n<h2>COPYRIGHT <a name=\"COPYRIGHT\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Copyright (C) 2006, 2014 Tatsuhiro Tsujikawa Tradu\u00c3\u00a7\u00c3\u00a3o para Portugu\u00c3\u00aas do Brasil 2013, Gilberto dos Santos Alves utilizando editor kate e gedit no Debian squeeze 6.0.6 novembro de 2012 revisado em mar\u00c3\u00a7o de 2013 usando editor kate e gedit no ubuntu 12.04 LTS<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Esse programa \u00c3\u00a9 software livre; pode ser redistribuido e\/ou modificado sob os termos da Licen\u00c3\u00a7a GNU General Public License como publicada por Free Software Foundation www.fsf.org; vers\u00c3\u00a3o 2 da Licen\u00c3\u00a7a, ou qualquer vers\u00c3\u00a3o mais recente, qualquer que seja sua escolha.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Este programa \u00c3\u00a9 distribu\u00c3do na inten\u00c3\u00a7\u00c3\u00a3o de ser \u00c3\u00batil, mas SEM NENHUMA GARANTIA; sem qualquer garantia impl\u00c3cita de ser COMERCIALIZ\u00c3VEL ou para PROP\u00c3SITO ESPEC\u00c3FICO. Consulte a Lince\u00c3\u00a7a GNU Gen\u00c3\u00a9rica para mais detalhes.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Voc\u00c3\u00aa precisa receber uma c\u00c3\u00b3pia da Licen\u00c3\u00a7a P\u00c3\u00bablica GNU Gen\u00c3\u00a9rica junto com este programa; caso n\u00c3\u00a3o tenha, escrev\u00c3\u00a1 para Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110\u22121301 USA<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Adicionalmente, como uma exce\u00c3\u00a7\u00c3\u00a3o especial, os detentores do direito autoral autorizam a permiss\u00c3\u00a3o para compilar programas que possuem liga\u00c3\u00a7\u00c3\u00a3o com parte do c\u00c3\u00b3digo com a biblioteca OpenSSL sob certas condi\u00c3\u00a7\u00c3\u00b5es como descritas em cada arquivo fonte e autorizam a distribui\u00c3\u00a7\u00c3\u00a3o das das combina\u00c3\u00a7\u00c3\u00b5es das liga\u00c3\u00a7\u00c3\u00b5es incluindo ambas. Devem ser obedecidos todos os detalhes da Licen\u00c3\u00a7a P\u00c3\u00bablica GNU Gen\u00c3\u00a9rica em rela\u00c3\u00a7\u00c3\u00a3o a OpenSSL. Caso haja modifica\u00c3\u00a7\u00c3\u00a3o nos arquivos com esta exce\u00c3\u00a7\u00c3\u00a3o dever\u00c3\u00a1 ser extendida esta exce\u00c3\u00a7\u00c3\u00a3o para as vers\u00c3\u00b5es modificadas dos arquivos, mas isto n\u00c3\u00a3o \u00c3\u00a9 obrigat\u00c3\u00b3rio. Se n\u00c3\u00a3o houver esta inten\u00c3\u00a7\u00c3\u00a3o exclua esta declara\u00c3\u00a7\u00c3\u00a3o de exce\u00c3\u00a7\u00c3\u00a3o da sua vers\u00c3\u00a3o. Caso sejam exclu\u00c3das as declara\u00c3\u00a7\u00c3\u00b5es de todos os arquivos fontes, exclua tamb\u00c3\u00a9m esta declara\u00c3\u00a7\u00c3\u00a3o daqui.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Anota\u00c3\u00a7\u00c3\u00a3o sobre diverg\u00c3\u00aancia entre Manual e o aria2:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Esta p\u00c3\u00a1gina de manual pode n\u00c3\u00a3o necessariamente conter a \u00c3\u00baltima informa\u00c3\u00a7\u00c3\u00a3o. Caso haja discrep\u00c3\u00a2ncia entre alguma informa\u00c3\u00a7\u00c3\u00a3o do manual e o aria2, por favor refira\u2212se a vers\u00c3\u00a3o em ingl\u00c3\u00aas resultante do comando man aria2c<\/p>\n<h2>COPYRIGHT <a name=\"COPYRIGHT\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">2013, Tatsuhiro Tsujikawa<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  aria2c \u2212 Utilit\u00c3\u00a1rio para download super ultra r\u00c3\u00a1pido <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[962],"tags":[964,2614,2594],"class_list":["post-5904","post","type-post","status-publish","format-standard","hentry","category-1-comandos-generales","tag-964","tag-aria2c","tag-pt"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/5904","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=5904"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/5904\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=5904"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=5904"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=5904"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}