Fixed the bug that caused -c command-line option did not work properly.

pull/1/head
Tatsuhiro Tsujikawa 2007-06-10 08:29:56 +00:00
parent d5bb035642
commit 649830316e
5 changed files with 115 additions and 80 deletions

View File

@ -43,6 +43,9 @@
* src/HttpResponseCommand.cc * src/HttpResponseCommand.cc
(handleOtherEncoding): Call RequestGroup::shouldCancelDownloadForSafety (handleOtherEncoding): Call RequestGroup::shouldCancelDownloadForSafety
* src/MetalinkRequestInfo.cc: Now -s option is ignored in Metalink
download.
2007-06-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-06-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Added -j command-line option. Added -j command-line option.

6
README
View File

@ -18,7 +18,8 @@ aria2 is in very early development stage. Currently it has following features:
* FTP support(active, passive mode) * FTP support(active, passive mode)
* FTP through HTTP proxy(GET command or tunneling) * FTP through HTTP proxy(GET command or tunneling)
* Segmented download * Segmented download
* Cookie support(currently aria2 ignores "expires") * Cookie support
* It can load cookies from file whose format is used by Netscape and Mozilla.
* It can run as a daemon process. * It can run as a daemon process.
* BitTorrent protocol support with fast extension. * BitTorrent protocol support with fast extension.
* Selective download in multi-file torrent * Selective download in multi-file torrent
@ -84,7 +85,8 @@ Note:
* -o option is used to change the filename of downloaded .torrent file. * -o option is used to change the filename of downloaded .torrent file.
* This version only supports compact peers list format. * This version only supports compact peers list format.
* The ports aria2c uses are 6881-6999. * The ports aria2c uses are 6881-6999.
* The maximum number of peers is 55. * The maximum number of peers is 55. This limit may be exceeded when download
rate is low.
* As of release 0.10.0, aria2 stops sending request message after selective * As of release 0.10.0, aria2 stops sending request message after selective
download completes, download completes,

View File

@ -1,11 +1,11 @@
.\" Title: aria2c .\" Title: aria2c
.\" Author: .\" Author:
.\" Generator: DocBook XSL Stylesheets v1.71.0 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.72.0 <http://docbook.sf.net/>
.\" Date: 03/29/2007 .\" Date: 06/10/2007
.\" Manual: .\" Manual:
.\" Source: .\" Source:
.\" .\"
.TH "ARIA2C" "1" "03/29/2007" "" "" .TH "ARIA2C" "1" "06/10/2007" "" ""
.\" disable hyphenation .\" disable hyphenation
.nh .nh
.\" disable justification (adjust text to left margin only) .\" disable justification (adjust text to left margin only)
@ -14,7 +14,7 @@
aria2c \- The high speed download utility aria2c \- The high speed download utility
.SH "SYNOPSIS" .SH "SYNOPSIS"
.sp .sp
.RS 3n .RS 4
.nf .nf
aria2c [OPTIONS] URL ... aria2c [OPTIONS] URL ...
aria2c [OPTIONS] \-T TORRENT_FILE FILE ... aria2c [OPTIONS] \-T TORRENT_FILE FILE ...
@ -29,29 +29,29 @@ Please visit the project web site at http://aria2.sourceforge.net
.SH "OPTIONS" .SH "OPTIONS"
.PP .PP
\-d, \-\-dir=DIR \-d, \-\-dir=DIR
.RS 3n .RS 4
The directory to store downloaded file. The directory to store downloaded file.
.RE .RE
.PP .PP
\-o, \-\-out=FILE \-o, \-\-out=FILE
.RS 3n .RS 4
The file name for downloaded file. The file name for downloaded file.
.RE .RE
.PP .PP
\-l, \-\-log=LOG \-l, \-\-log=LOG
.RS 3n .RS 4
The file path to store log. If The file path to store log. If
\fI\-\fR \fI\-\fR
is specified, log is written to stdout. is specified, log is written to stdout.
.RE .RE
.PP .PP
\-D, \-\-daemon \-D, \-\-daemon
.RS 3n .RS 4
Run as daemon. Run as daemon.
.RE .RE
.PP .PP
\-s, \-\-split=N \-s, \-\-split=N
.RS 3n .RS 4
Download a file using Download a file using
\fIN\fR \fIN\fR
connections. connections.
@ -66,7 +66,7 @@ connections. Default:
.RE .RE
.PP .PP
\-\-retry\-wait=SEC \-\-retry\-wait=SEC
.RS 3n .RS 4
Set amount of time in second between requests for errors. Specify a value between Set amount of time in second between requests for errors. Specify a value between
\fI0\fR \fI0\fR
and and
@ -75,13 +75,13 @@ and
.RE .RE
.PP .PP
\-t, \-\-timeout=SEC \-t, \-\-timeout=SEC
.RS 3n .RS 4
Set timeout in second. Default: Set timeout in second. Default:
\fI60\fR \fI60\fR
.RE .RE
.PP .PP
\-m, \-\-max\-tries=N \-m, \-\-max\-tries=N
.RS 3n .RS 4
Set number of tries. Set number of tries.
\fI0\fR \fI0\fR
means unlimited. Default: means unlimited. Default:
@ -89,32 +89,32 @@ means unlimited. Default:
.RE .RE
.PP .PP
\-\-http\-proxy=HOST:PORT \-\-http\-proxy=HOST:PORT
.RS 3n .RS 4
Use HTTP proxy server. This affects to all URLs. Use HTTP proxy server. This affects to all URLs.
.RE .RE
.PP .PP
\-\-http\-user=USER \-\-http\-user=USER
.RS 3n .RS 4
Set HTTP user. This affects to all URLs. Set HTTP user. This affects to all URLs.
.RE .RE
.PP .PP
\-\-http\-passwd=PASSWD \-\-http\-passwd=PASSWD
.RS 3n .RS 4
Set HTTP password. This affects to all URLs. Set HTTP password. This affects to all URLs.
.RE .RE
.PP .PP
\-\-http\-proxy\-user=USER \-\-http\-proxy\-user=USER
.RS 3n .RS 4
Set HTTP proxy user. This affects to all URLs Set HTTP proxy user. This affects to all URLs
.RE .RE
.PP .PP
\-\-http\-proxy\-passwd=PASSWD \-\-http\-proxy\-passwd=PASSWD
.RS 3n .RS 4
Set HTTP proxy password. This affects to all URLs. Set HTTP proxy password. This affects to all URLs.
.RE .RE
.PP .PP
\-\-http\-proxy\-method=METHOD \-\-http\-proxy\-method=METHOD
.RS 3n .RS 4
Set the method to use in proxy request. Set the method to use in proxy request.
\fIMETHOD\fR \fIMETHOD\fR
is either is either
@ -125,7 +125,7 @@ or
.RE .RE
.PP .PP
\-\-http\-auth\-scheme=SCHEME \-\-http\-auth\-scheme=SCHEME
.RS 3n .RS 4
Set HTTP authentication scheme. Currently, Set HTTP authentication scheme. Currently,
\fIbasic\fR \fIbasic\fR
is the only supported scheme. Default: is the only supported scheme. Default:
@ -133,24 +133,24 @@ is the only supported scheme. Default:
.RE .RE
.PP .PP
\-\-referer=REFERER \-\-referer=REFERER
.RS 3n .RS 4
Set Referer. This affects to all URLs. Set Referer. This affects to all URLs.
.RE .RE
.PP .PP
\-\-ftp\-user=USER \-\-ftp\-user=USER
.RS 3n .RS 4
Set FTP user. This affects to all URLs. Default: Set FTP user. This affects to all URLs. Default:
\fIanonymous\fR \fIanonymous\fR
.RE .RE
.PP .PP
\-\-ftp\-passwd=PASSWD \-\-ftp\-passwd=PASSWD
.RS 3n .RS 4
Set FTP password. This affects to all URLs. Default: Set FTP password. This affects to all URLs. Default:
\fIARIA2USER@\fR \fIARIA2USER@\fR
.RE .RE
.PP .PP
\-\-ftp\-type=TYPE \-\-ftp\-type=TYPE
.RS 3n .RS 4
Set FTP transfer type. TYPE is either Set FTP transfer type. TYPE is either
\fIbinary\fR \fIbinary\fR
or or
@ -159,12 +159,12 @@ or
.RE .RE
.PP .PP
\-p, \-\-ftp\-pasv \-p, \-\-ftp\-pasv
.RS 3n .RS 4
Use passive mode in FTP. Use passive mode in FTP.
.RE .RE
.PP .PP
\-\-ftp\-via\-http\-proxy=METHOD \-\-ftp\-via\-http\-proxy=METHOD
.RS 3n .RS 4
Use HTTP proxy in Use HTTP proxy in
\fIFTP\fR. \fIFTP\fR.
\fIMETHOD\fR \fIMETHOD\fR
@ -176,7 +176,7 @@ or
.RE .RE
.PP .PP
\-\-lowest\-speed\-limit=SPEED \-\-lowest\-speed\-limit=SPEED
.RS 3n .RS 4
Close connection if download speed is lower than or equal to this value(bytes per sec). 0 means aria2 does not care lowest speed limit. You can append Close connection if download speed is lower than or equal to this value(bytes per sec). 0 means aria2 does not care lowest speed limit. You can append
\fIK\fR \fIK\fR
or or
@ -185,7 +185,7 @@ or
.RE .RE
.PP .PP
\-\-max\-download\-limit=SPEED \-\-max\-download\-limit=SPEED
.RS 3n .RS 4
Set max download speed in bytes per sec. Set max download speed in bytes per sec.
\fI0\fR \fI0\fR
means unrestricted. You can append means unrestricted. You can append
@ -196,7 +196,7 @@ or
.RE .RE
.PP .PP
\-\-file\-allocation=METHOD \-\-file\-allocation=METHOD
.RS 3n .RS 4
Specify file allocation method. Specify file allocation method.
\fIMETHOD\fR \fIMETHOD\fR
is either is either
@ -211,14 +211,14 @@ pre\-allocates file space before download begins. This may take some time depend
.RE .RE
.PP .PP
\-\-allow\-overwrite=true|false \-\-allow\-overwrite=true|false
.RS 3n .RS 4
If this option set to If this option set to
\fIfalse\fR, aria2 doesn't download a file which already exists in the file system but its corresponding .aria2 file doesn't exist. Default: \fIfalse\fR, aria2 doesn't download a file which already exists in the file system but its corresponding .aria2 file doesn't exist. Default:
\fIfalse\fR \fIfalse\fR
.RE .RE
.PP .PP
\-\-check\-integrity=true|false \-\-check\-integrity=true|false
.RS 3n .RS 4
Check file integrity by validating piece hash. This option makes effect in BitTorrent download and Metalink with chunk checksums. Use this option to redownload a damaged portion of file. You may need to specify Check file integrity by validating piece hash. This option makes effect in BitTorrent download and Metalink with chunk checksums. Use this option to redownload a damaged portion of file. You may need to specify
\fI\-\-allow\-overwrite=true\fR \fI\-\-allow\-overwrite=true\fR
option if .aria2 file doesn't exist. Default: option if .aria2 file doesn't exist. Default:
@ -226,33 +226,53 @@ option if .aria2 file doesn't exist. Default:
.RE .RE
.PP .PP
\-\-realtime\-chunk\-checksum=true|false \-\-realtime\-chunk\-checksum=true|false
.RS 3n .RS 4
Validate chunk checksum while downloading a file in Metalink mode. This option makes effect in Metalink with chunk checksums. Default: Validate chunk checksum while downloading a file in Metalink mode. This option makes effect in Metalink with chunk checksums. Default:
\fItrue\fR \fItrue\fR
.RE .RE
.PP .PP
\-c, \-\-continue \-c, \-\-continue
.RS 3n .RS 4
Continue downloading a partially downloaded file. Use this option to resume a download started by web browsers or another programs which download files sequentially from the beginning. Currently this option is applicable to http(s)/ ftp downloads. Continue downloading a partially downloaded file. Use this option to resume a download started by web browsers or another programs which download files sequentially from the beginning. Currently this option is applicable to http(s)/ ftp downloads.
.RE .RE
.PP .PP
\-U, \-\-user\-agent=USER_AGENT \-U, \-\-user\-agent=USER_AGENT
.RS 3n .RS 4
Set user agent for http(s) downloads. Set user agent for http(s) downloads.
.RE .RE
.PP .PP
\-n, \-\-no\-netrc \-n, \-\-no\-netrc
.RS 3n .RS 4
Disables netrc support. Disables netrc support.
.RE .RE
.PP .PP
\-i, \-\-input\-file=FILE
.RS 4
Downloads URIs found in
\fIFILE\fR. You can specify multiple URIs for a single entity: deliminate URIs by Tab in a single line.
.RE
.PP
\-j, \-\-max\-concurrent\-downloads=N
.RS 4
Set maximum number of concurrent downloads. Default:
\fI5\fR
.RE
.PP
\-\-load\-cookies=FILE
.RS 4
Load cookies from
\fIFILE\fR. The format of
\fIFILE\fR
is one used by Netscape and Mozilla.
.RE
.PP
\-T, \-\-torrent\-file=TORRENT_FILE \-T, \-\-torrent\-file=TORRENT_FILE
.RS 3n .RS 4
The file path to .torrent file. The file path to .torrent file.
.RE .RE
.PP .PP
\-\-follow\-torrent=true|false \-\-follow\-torrent=true|false
.RS 3n .RS 4
Setting this option to Setting this option to
\fIfalse\fR \fIfalse\fR
prevents aria2 to enter BitTorrent mode even if the filename of downloaded file ends with .torrent. Default: prevents aria2 to enter BitTorrent mode even if the filename of downloaded file ends with .torrent. Default:
@ -260,23 +280,23 @@ prevents aria2 to enter BitTorrent mode even if the filename of downloaded file
.RE .RE
.PP .PP
\-S, \-\-show\-files \-S, \-\-show\-files
.RS 3n .RS 4
Print file listing of .torrent file and exit. Print file listing of .torrent file and exit.
.RE .RE
.PP .PP
\-\-direct\-file\-mapping=true|false \-\-direct\-file\-mapping=true|false
.RS 3n .RS 4
Directly read from and write to each file mentioned in .torrent file. Default: Directly read from and write to each file mentioned in .torrent file. Default:
\fItrue\fR \fItrue\fR
.RE .RE
.PP .PP
\-\-listen\-port=PORT \-\-listen\-port=PORT
.RS 3n .RS 4
Set port number to listen to for peer connection. Set port number to listen to for peer connection.
.RE .RE
.PP .PP
\-\-max\-upload\-limit=SPEED \-\-max\-upload\-limit=SPEED
.RS 3n .RS 4
Set max upload speed in bytes per sec. Set max upload speed in bytes per sec.
\fI0\fR \fI0\fR
means unrestricted. You can append means unrestricted. You can append
@ -287,7 +307,7 @@ or
.RE .RE
.PP .PP
\-\-select\-file=INDEX\&... \-\-select\-file=INDEX\&...
.RS 3n .RS 4
Set file to download by specifing its index. You can know file index through Set file to download by specifing its index. You can know file index through
\fI\-\-show\-files\fR \fI\-\-show\-files\fR
option. Multiple indexes can be specified by using option. Multiple indexes can be specified by using
@ -302,14 +322,14 @@ can be used together.
.RE .RE
.PP .PP
\-\-seed\-time=MINUTES \-\-seed\-time=MINUTES
.RS 3n .RS 4
Specify seeding time in minutes. See also Specify seeding time in minutes. See also
\fI\-\-seed\-ratio\fR \fI\-\-seed\-ratio\fR
option. option.
.RE .RE
.PP .PP
\-\-seed\-ratio=RATIO \-\-seed\-ratio=RATIO
.RS 3n .RS 4
Specify share ratio. Seed completed torrents until share ratio reaches Specify share ratio. Seed completed torrents until share ratio reaches
\fIRATIO\fR. \fIRATIO\fR.
\fI1.0\fR \fI1.0\fR
@ -319,40 +339,38 @@ option is specified along with this option, seeding ends when at least one of th
.RE .RE
.PP .PP
\-M, \-\-metalink\-file=METALINK_FILE \-M, \-\-metalink\-file=METALINK_FILE
.RS 3n .RS 4
The file path to .metalink file. The file path to .metalink file.
.RE .RE
.PP .PP
\-C, \-\-metalink\-servers=NUM_SERVERS \-C, \-\-metalink\-servers=NUM_SERVERS
.RS 3n .RS 4
The number of servers to connect to simultaneously. If more than one connection per server is required, use The number of servers to connect to simultaneously. Default:
\fI\-s\fR \fI5\fR
option. Default:
\fI15\fR
.RE .RE
.PP .PP
\-\-metalink\-version=VERSION \-\-metalink\-version=VERSION
.RS 3n .RS 4
The version of file to download. The version of file to download.
.RE .RE
.PP .PP
\-\-metalink\-language=LANGUAGE \-\-metalink\-language=LANGUAGE
.RS 3n .RS 4
The language of file to download. The language of file to download.
.RE .RE
.PP .PP
\-\-metalink\-os=OS \-\-metalink\-os=OS
.RS 3n .RS 4
The operating system the file is targeted. The operating system the file is targeted.
.RE .RE
.PP .PP
\-\-metalink\-location=LOCATION \-\-metalink\-location=LOCATION
.RS 3n .RS 4
The location of the prefered server. The location of the prefered server.
.RE .RE
.PP .PP
\-\-follow\-metalink=true|false \-\-follow\-metalink=true|false
.RS 3n .RS 4
Setting this option to Setting this option to
\fIfalse\fR \fIfalse\fR
prevents aria2 to enter Metalink mode even if the filename of downloaded file ends with .metalink. Default: prevents aria2 to enter Metalink mode even if the filename of downloaded file ends with .metalink. Default:
@ -360,22 +378,22 @@ prevents aria2 to enter Metalink mode even if the filename of downloaded file en
.RE .RE
.PP .PP
\-v, \-\-version \-v, \-\-version
.RS 3n .RS 4
Print the version number and exit. Print the version number and exit.
.RE .RE
.PP .PP
\-h, \-\-help \-h, \-\-help
.RS 3n .RS 4
Print this message and exit. Print this message and exit.
.RE .RE
.PP .PP
URL URL
.RS 3n .RS 4
You can specify multiple URLs. All URLs must point to the same file or downloading fails. You can specify multiple URLs. All URLs must point to the same file or downloading fails.
.RE .RE
.PP .PP
FILE FILE
.RS 3n .RS 4
Specify files in multi\-file torrent to download. Use conjunction with Specify files in multi\-file torrent to download. Use conjunction with
\fI\-T\fR \fI\-T\fR
option. This arguments are ignored if you specify option. This arguments are ignored if you specify
@ -385,76 +403,76 @@ option.
.SH "EXAMPLES" .SH "EXAMPLES"
.PP .PP
Download a file by 1 connection Download a file by 1 connection
.RS 3n .RS 4
aria2c http://AAA.BBB.CCC/file.zip aria2c http://AAA.BBB.CCC/file.zip
.RE .RE
.PP .PP
Download a file by 2 connections Download a file by 2 connections
.RS 3n .RS 4
aria2c \-s 2 http://AAA.BBB.CCC/file.zip aria2c \-s 2 http://AAA.BBB.CCC/file.zip
.RE .RE
.PP .PP
Download a file by 2 connections, each connects to a different server Download a file by 2 connections, each connects to a different server
.RS 3n .RS 4
aria2c http://AAA.BBB.CCC/file.zip http://DDD.EEE.FFF/GGG/file.zip aria2c http://AAA.BBB.CCC/file.zip http://DDD.EEE.FFF/GGG/file.zip
.RE .RE
.PP .PP
You can mix up different protocols You can mix up different protocols
.RS 3n .RS 4
aria2c http://AAA.BBB.CCC/file.zip ftp://DDD.EEE.FFF/GGG/file.zip aria2c http://AAA.BBB.CCC/file.zip ftp://DDD.EEE.FFF/GGG/file.zip
.RE .RE
.PP .PP
Download a torrent Download a torrent
.RS 3n .RS 4
aria2c \-o test.torrent http://AAA.BBB.CCC/file.torrent aria2c \-o test.torrent http://AAA.BBB.CCC/file.torrent
.RE .RE
.PP .PP
Download a torrent using local .torrent file Download a torrent using local .torrent file
.RS 3n .RS 4
aria2c \-T test.torrent aria2c \-T test.torrent
.RE .RE
.PP .PP
Download only selected files Download only selected files
.RS 3n .RS 4
aria2c \-T test.torrent dir/file1.zip dir/file2.zip aria2c \-T test.torrent dir/file1.zip dir/file2.zip
.RE .RE
.PP .PP
Print file listing of .torrent file Print file listing of .torrent file
.RS 3n .RS 4
aria2c \-T test.torrent \-S aria2c \-T test.torrent \-S
.RE .RE
.PP .PP
Metalink downloading Metalink downloading
.RS 3n .RS 4
aria2c \-\-lowest\-speed\-limit 10K http://AAA.BBB.CCC/file.metalink aria2c \-\-lowest\-speed\-limit 10K http://AAA.BBB.CCC/file.metalink
.RE .RE
.PP .PP
Download a file using local .metalink file Download a file using local .metalink file
.RS 3n .RS 4
aria2c \-M test.metalink aria2c \-M test.metalink
.RE .RE
.PP .PP
Metalink downloading with preferences Metalink downloading with preferences
.RS 3n .RS 4
aria2c \-M test.metalink \-\-metalink\-version=1.1.1 \-\-metalink\-language=en\-US aria2c \-M test.metalink \-\-metalink\-version=1.1.1 \-\-metalink\-language=en\-US
.RE .RE
.SH "FILES" .SH "FILES"
.PP .PP
aria2.conf aria2.conf
.RS 3n .RS 4
User configuration file. It must be placed under ~/.aria2 and must be named as aria2.conf. In each line, there is 1 parameter whose syntax is name=value pair, where name is the long command\-line option name without User configuration file. It must be placed under ~/.aria2 and must be named as aria2.conf. In each line, there is 1 parameter whose syntax is name=value pair, where name is the long command\-line option name without
\fI\-\-\fR \fI\-\-\fR
prefix. The lines beginning prefix. The lines beginning
\fI#\fR \fI#\fR
are treated as comments. are treated as comments.
.sp .sp
.RS 3n .RS 4
.nf .nf
Examples: Example:
.fi .fi
.RE .RE
.sp .sp
.RS 3n .RS 4
.nf .nf
# sample configuration file for aria2c # sample configuration file for aria2c
file\-allocation=prealloc file\-allocation=prealloc

View File

@ -169,6 +169,18 @@ OPTIONS
-n, --no-netrc:: -n, --no-netrc::
Disables netrc support. Disables netrc support.
-i, --input-file=FILE::
Downloads URIs found in 'FILE'. You can specify
multiple URIs for a single entity: deliminate
URIs by Tab in a single line.
-j, --max-concurrent-downloads=N::
Set maximum number of concurrent downloads.
Default: '5'
--load-cookies=FILE::
Load cookies from 'FILE'. The format of 'FILE' is
one used by Netscape and Mozilla.
-T, --torrent-file=TORRENT_FILE:: -T, --torrent-file=TORRENT_FILE::
The file path to .torrent file. The file path to .torrent file.
@ -219,10 +231,9 @@ OPTIONS
The file path to .metalink file. The file path to .metalink file.
-C, --metalink-servers=NUM_SERVERS:: -C, --metalink-servers=NUM_SERVERS::
The number of servers to connect to The number of servers to connect to
simultaneously. If more than one connection per simultaneously.
server is required, use '-s' option. Default: '5'
Default: '15'
--metalink-version=VERSION:: --metalink-version=VERSION::
The version of file to download. The version of file to download.

View File

@ -164,6 +164,7 @@ void RequestGroup::loadAndOpenFile()
} }
initBitfield(); initBitfield();
openExistingFile(); openExistingFile();
_segmentMan->markPieceDone(existingFile.size());
} else { } else {
shouldCancelDownloadForSafety(); shouldCancelDownloadForSafety();
initBitfield(); initBitfield();
@ -205,7 +206,7 @@ void RequestGroup::prepareForNextAction(int cuid, const RequestHandle& req, Down
CheckIntegrityCommand* command = new CheckIntegrityCommand(cuid, this, e, entry); CheckIntegrityCommand* command = new CheckIntegrityCommand(cuid, this, e, entry);
e->commands.push_back(command); e->commands.push_back(command);
} else if(needsFileAllocation()) { } else if(needsFileAllocation()) {
FileAllocationEntryHandle entry = new FileAllocationEntry(cuid, req, this); FileAllocationEntryHandle entry = new FileAllocationEntry(cuid, req, this, existingFile.size());
entry->setNextDownloadCommand(downloadCommand); entry->setNextDownloadCommand(downloadCommand);
e->_fileAllocationMan->pushFileAllocationEntry(entry); e->_fileAllocationMan->pushFileAllocationEntry(entry);
} else { } else {