aria2 / aria2

aria2 is a lightweight multi-protocol & multi-source, cross platform download utility operated in command-line. It supports HTTP/HTTPS, FTP, SFTP, BitTorrent and Metalink.
https://aria2.github.io/
GNU General Public License v2.0
35.25k stars 3.57k forks source link

it doesn't recognize "ftp−user" nor "ftp−passwd" options #519

Open simonbcn opened 8 years ago

simonbcn commented 8 years ago

Gentoo 64 bits

aria2 version 1.19.3

** Configuration **
Enabled Features: BitTorrent, Firefox3 Cookie, GZip, HTTPS, Message Digest, Metalink, XML-RPC
Hash Algorithms: sha-1, sha-224, sha-256, sha-384, sha-512, md5, adler32
Libraries: zlib/1.2.8 libxml2/2.9.2 sqlite3/3.9.2 GnuTLS/3.3.17 nettle GMP/6.0.0
Compiler: gcc 4.9.3
  built by   x86_64-pc-linux-gnu
  on         Jan  1 2016 20:39:54
System: Linux 4.3.3-gentoo #1 SMP Thu Dec 31 14:14:38 CET 2015 x86_64
$ aria2c -o "/dunehd/Descargando/juan/" −−ftp−user="xxxx" −−ftp−passwd="xxxx" −−disable−ipv6 ftp://sys/torrent-descargas/juan/xxxxx/
Exception caught
Exception: [download_helper.cc:416] errorCode=1 Unrecognized URI or unsupported protocol: −−ftp−user=monsi
tatsuhiro-t commented 8 years ago

It looks like −−ftp−user=monsi is treated as URI. This suggests that there is a problem in quotation in command-line arguments.