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.65k stars 3.59k forks source link

aria2c only download one url in windows 8.1 #1618

Open xubuntu4iran opened 4 years ago

xubuntu4iran commented 4 years ago

aria2c url1 url2

it only downloads url1 in windows 8.1 CMD version: 1.35

myzhang1029 commented 4 years ago

Aria2 is not the same as wget. You'll need to supply the -Z or --force-sequential option to the command to download multiple URLs

According to the man page:

       -Z, --force-sequential [true|false]
              Fetch  URIs  in  the command-line sequentially and download each
              URI in a separate session, like the usual command-line  download
              utilities.  Default: false
       You can specify multiple URIs  in  command-line.   Unless  you  specify
       --force-sequential  option,  all  URIs  must  point to the same file or
       downloading will fail.