Aria2c download files
Better override support. Cleaner version checks. The code used in libxml. The major points are: Buffer is now preallocated once handshake is finished. Previously, they are allocated each time when we send one TLS record.
Schannel uses header, body and trailer for each secBuffer. Now we send them off at once using WSASend which is windows counterpart of sendv.
Previously, we do memmove if some of them are truncated. Using 0 length data to finish sending buffered data looks like a hack. Release Note This release fixes the bug that file name is not logged with --conditional-get option is used. Fix -Wexpansion-to-defined warning with clang Previous 1 2 3 Next. Previous Next. You signed in with another tab or window. Reload to refresh your session.
Sometimes you will get an error message after you click the download button probably because Aria2c doesn't start completely. Mozilla doesn't allow us to send the referrer and cookies to the Firefox's built-in download manager.
If you don't want to start Aria2 manually, just write a program to start Aria2 in the background and register it to the system's 'autostart' or 'uri scheme. How are you enjoying Aria2 Download Manager Integration? Standard version is suitable for deployment in the web server, and provides resource caching and on-demand loading. All-In-One version is suitable for local using, and you can download it and just open the only html file in browser.
AriaNg Native is also suitable for local using, and is no need for browser. It may be sent to BitTorrent tracker. For DHT, this option should be set to report that local node is downloading a particular torrent.
This is critical to use DHT in a private network. Although this function is named external , it can accept any kind of IP addresses. Requires BitTorrent message payload encryption with arc4. This option does not change the option value of those options. If true is given, deny legacy BitTorrent handshake and only use Obfuscation handshake and always encrypt message payload.
If true is given, after hash check using --check-integrity option and file is complete, continue to seed file. If you want to check file and download it only when it is damaged or incomplete, set this option to false. This option has effect only on BitTorrent download. Before getting torrent metadata from DHT when downloading with magnet link, first try to read file saved by --bt-save-metadata option. If it is successful, then skip downloading metadata from DHT.
Use given interface for Local Peer Discovery. If this option is not specified, the default interface is chosen. You can specify interface name and IP address. Possible Values: interface, IP address. Specify the maximum number of peers per torrent. See also --bt-request-peer-speed-limit option. Download meta data only. The file s described in meta data will not be downloaded. See also --bt-save-metadata option. Set minimum level of encryption method. If several encryption methods are provided by a peer, aria2 chooses the lowest one which satisfies the given level.
Default: plain. Try to download first and last pieces of each file first. This is useful for previewing files. The argument can contain 2 keywords: head and tail. To include both keywords, they must be separated by comma.
These keywords can take one parameter, SIZE. Removes the unselected files when download is completed in BitTorrent. To select files, use --select-file option. If it is not used, all files are assumed to be selected. Please use this option with care because it will actually remove files from your disk. Thus aria2 always uses Obfuscation handshake. If the whole download speed of every torrent is lower than SPEED, aria2 temporarily increases the number of peers to try for more download speed.
Configuring this option with your preferred download speed can increase your download speed in some cases. Default: 50K. Save meta data as ". The file name is hex encoded info hash with suffix ".
The directory to be saved is the same directory where download file is saved. If the same file already exists, meta data is not saved.
See also --bt-metadata-only option. Seed previously downloaded files without verifying piece hashes. If 0 is given, this feature is disabled.
These URIs are not affected by --bt-exclude-tracker option because they are added after URIs in --bt-exclude-tracker option are removed. Set the connect timeout in seconds to establish connection to tracker.
After the connection is established, this option makes no effect and --bt-tracker-timeout option is used instead. Set the interval in seconds between tracker requests. This completely overrides interval value and aria2 just uses this value and ignores the min interval and interval value in the response of tracker. If 0 is set, aria2 determines interval based on the response of tracker and the download progress.
It should be a global unicast IPv6 address of the host. Multiple ports can be specified by using , , for example: , It also enables UDP tracker support. If a private flag is set in a torrent, aria2 doesn't use DHT for that download even if true is given. Use --dht-listen-port option to specify port number to listen on. See also --dht-listen-addr6 option. Enable Peer Exchange extension. If a private flag is set in a torrent, this feature is disabled for that download even if true is given.
If true or mem is specified, when a file whose suffix is. If mem is specified, a torrent file is not written to the disk, but is just kept in memory. If false is specified, the. PATH is a relative path to the path specified in --dir option. You can use this option multiple times. Using this option, you can specify the output file names of BitTorrent downloads.
To limit the upload speed per torrent, use --max-upload-limit option. To limit the overall upload speed, use --max-overall-upload-limit option. Specify the prefix of peer ID. The peer ID in BitTorrent is 20 byte length. If more than 20 bytes are specified, only first 20 bytes are used. If less than 20 bytes are specified, random byte data are added to make its length 20 bytes. For instance, aria2 version 1. Specify share ratio. You are strongly encouraged to specify equals or more than 1.
Specify 0. If --seed-time option is specified along with this option, seeding ends when at least one of the conditions is satisfied. Specify seeding time in fractional minutes. Also see the --seed-ratio option. The path to the ". You are not required to use this option because you can specify ". If mem is specified, a metalink file is not written to the disk, but is just kept in memory.
Specify base URI to resolve relative URI in metalink:url and metalink:metaurl element in a metalink file stored in local disk. The file path to ". Reads input from stdin when - is specified. The location of the preferred server. A comma-delimited list of locations is acceptable, for example, jp,us. Specify preferred protocol.
The possible values are http , https , ftp and none. Specify none to disable this feature. Default: none. If true is given and several protocols are available for a mirror in a metalink file, aria2 uses one of them. Use --metalink-preferred-protocol option to specify the preference of protocol. It is strongly recommended to set secret authorization token using --rpc-secret option. See also --rpc-listen-port option. Pause download after added. Pause downloads created as a result of metadata download.
There are 3 types of metadata downloads in aria2: 1 downloading. These metadata downloads will generate downloads using their metadata. This option pauses these subsequent downloads. When using PEM, you have to specify the private key via --rpc-private-key as well. Use --rpc-secure option to enable encryption. If false is given, listen only on local loopback interface. Possible Values: - Default: If aria2 detects the request is more than SIZE bytes, it drops connection.
Default: 2M. Migrate to --rpc-secret option as soon as possible. See also --rpc-certificate option. Save the uploaded torrent or metalink meta data in the directory specified by --dir option. The file name consists of SHA-1 hash hex string of meta data plus extension. For torrent, the extension is '. For metalink, it is '. If false is given to this option, the downloads added by aria2.
Set RPC secret authorization token. Read RPC authorization secret token to know how this option value is used. The RPC clients must use https scheme to access the server. For WebSocket client, use wss scheme.
Use --rpc-certificate and --rpc-private-key options to specify the server certificate and private key. Restart download from scratch if the corresponding control file doesn't exist. See also --auto-file-renaming option. If false is given, aria2 aborts download when a piece length is different from one in a control file. If true is given, you can proceed but some download progress will be lost.
Always resume download. If true is given, aria2 always tries to resume download and if resume is not possible, aborts download. If false is given, when all given URIs do not support resume or aria2 encounters N URIs which does not support resume N is the value specified using --max-resume-failure-tries option , aria2 downloads file from scratch. See --max-resume-failure-tries option.
Enable asynchronous DNS. You can specify both IPv4 and IPv6 address. Rename file name if the same file already exists. The new file name has a dot and a number If 0 is given, a control file is not saved during download.
The possible values are between 0 to Download file only when the local file is older than remote file.
It does not work if file size is specified in Metalink. It also ignores Content-Disposition header. If a control file exists, this option will be ignored. This function uses If-Modified-Since header to get only newer file conditionally. When getting modification time of local file, it uses user supplied file name see --out option or file name part in URI if --out is not specified. To overwrite existing file, --allow-overwrite is required. Change the configuration file path to PATH.
Set log level to output to console. LEVEL is either debug , info , notice , warn or error. Default: notice. Run as daemon. If true is given, aria2 does not read all URIs and options from file specified by --input-file 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 false is given, aria2 reads all URIs and options at startup. Disable IPv6. Enable disk cache. If SIZE is 0 , 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. If hash checking is involved and the data are cached in memory, we don't need to read them from the disk.
Default: 16M. This option changes the way Download Results is formatted. If you take commonly used values from RFC, network vendors' documentation, Wikipedia or any other source, use them as they are.
Enable color output for a terminal. Map files into memory. This option may not work if the file space is not pre-allocated. See --file-allocation. Specify the method for polling events. The possible values are epoll , kqueue , port , poll and select.
For each epoll , kqueue , port and poll , it is available if system supports it. The default value may vary depending on the system you use. Specify file allocation method. 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 , falloc is your best choice. It allocates large few GiB files almost instantly. Don't use falloc with legacy file systems such as ext3 and FAT32 because it takes almost same time as prealloc and it blocks aria2 entirely until allocation finishes.
Possible Values: none , prealloc , trunc , falloc Default: prealloc. Using trunc seemingly allocates disk space very quickly, but what it actually does is that it sets file length metadata in file system, and does not allocate disk space at all. This means that it does not help avoiding fragmentation. In multi file torrent downloads, the files adjacent forward to the specified files are also allocated if they share the same piece.
Save download with --save-session option even if the download is completed or removed. This option also saves control file in that situations. This may be useful to save BitTorrent seeding which is recognized as completed state. Save download with --save-session option even if the file was not found on the server.
Set GID manually. The GID must be hex string of 16 characters, thus [a-fA-F] 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 --save-session option.
If this option is not used, new GID is generated by aria2. If true is given, after hash check using --check-integrity option, abort download whether or not download is complete.
Print sizes and speed in human readable format e. Bind sockets to given interface. You can specify interface name, IP address and host name. Possible Values: interface, IP address, host name. If an interface has multiple addresses, it is highly recommended to specify IP address explicitly.
See also --disable-ipv6. If your system doesn't have getifaddrs 3 , this option doesn't accept interface name. Keep unfinished download results even if doing so exceeds --max-download-result. This is useful if all unfinished downloads must be saved in session file see --save-session option. Please keep in mind that there is no upper bound to the number of unfinished download result to keep.
If that is undesirable, turn this option off. Set maximum number of download result kept in memory. 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.
Note that unfinished downloads are kept in memory regardless of this option value. See --keep-unfinished-download-result option. Set the maximum file size to enable mmap see --enable-mmap option. The file size is determined by the sum of all files contained in one download. For example, if a download contains 5 files, then file size is the total size of those files.
If file size is strictly greater than the size specified in this option, mmap will be disabled.
0コメント