Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IAria2FileStatus

Hierarchy

  • IAria2FileStatus

Index

Properties

completedLength

completedLength: bigint

Completed length of this file in bytes. Please note that it is possible that sum of completedLength is less than the completedLength returned by the aria2.tellStatus() method. This is because completedLength in aria2.getFiles() only includes completed pieces. On the other hand, completedLength in aria2.tellStatus() also includes partially completed pieces.

index

index: number

Index of the file, starting at 1, in the same order as files appear in the multi-file torrent.

length

length: bigint

File size in bytes.

path

path: string

File path.

selected

selected: boolean

true if this file is selected by --select-file option. If --select-file is not specified or this is single-file torrent or not a torrent download at all, this value is always true. Otherwise false.

uris

Returns a list of URIs for this file. The element type is the same struct used in the aria2.getUris() method.

Generated using TypeDoc