---
name: "Transmission::Torrent::File"
section: "3pm"
platform: "linux"
package: "libtransmission-client-perl"
version: "0.0806-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Transmission::Torrent::File"
---

# Transmission::Torrent::File(3pm)

file within a Transmission torrent

## NAME

Transmission::Torrent::File - file within a Transmission torrent

## ATTRIBUTES

### id

```
 $int = $self->id;
```

This file index in the files list.

### length

```
 $num = $self->length;
```

File size in bytes.

### name

```
 $str = $self->name;
```

### bytes\_completed

```
 $num = $self->bytes_completed;
```

Bytes downloaded.

### wanted

```
 $bool = $self->wanted;
```

Flag which decides if this file will be downloaded or not.

### priority

```
 $int = $self->priority;
```

Low, Normal or High, with the respectable values: -1, 0 and 1.

## METHODS

### BUILDARGS

```
 $hash_ref = $class->BUILDARGS(\%args);
```

Convert keys in `%args` from "CamelCase" to "camel\_case".

## LICENSE

## AUTHOR

See Transmission::Client
