Represents a file within a download.
int IndexIndex of the file, starting at 1, in the same order as files appear in the multi-file torrent.
JSON key:
index
string PathFile path.
JSON key:
path
long LengthFile size in bytes.
JSON key:
length
long CompletedLengthCompleted length of this file in bytes. Please note that it is possible that sum of CompletedLength is less than the returned by the IAria2Client.GetFiles method. This is because completedLength in IAria2Client.GetFiles only includes completed pieces. On the other hand, completedLength in IAria2Client.TellStatus(string, string[], string?) also includes partially completed pieces.
JSON key:
completedLength
bool Selectedtrue if this file is selected by Aria2DownloadOptions.SelectFile option. IfAria2DownloadOptions.SelectFile is not specified or this is single-file torrent or not a torrent download at all, this value is always true. Otherwise false.
JSON key:
selected
System.Collections.Generic.IReadOnlyList<Aria2.JsonRpcClient.Models.Aria2Uri>? UrisReturns a list of URIs for this file.
JSON key:
uris