Represents a request to get the files of a download.
GetFiles(string gid, string? id = null)Returns an array of file objects associated with the download denoted by gid. Each file object includes details such as file path, size, and progress.
https://aria2.github.io/manual/en/html/aria2c.html#aria2.getFiles
gid (string): The GID of the download.
id (string (optional, default: null)): The tracking id for the request. If this is omitted it will be generated automatically.Returns:
A read-only list of Aria2File objects.
Throws:
Aria2Exception
Thrown when an aria2 error occurs.