# Interface: FileResource

Describes the file or directory being acted upon.

## Properties[​](#properties "Direct link to Properties")

### path[​](#path "Direct link to path")

```ts
path: string;

```

Relative path within the volume.

***

### size?[​](#size "Direct link to size?")

```ts
optional size: number;

```

Content length in bytes — only present for uploads.

***

### volume[​](#volume "Direct link to volume")

```ts
volume: string;

```

The volume key (e.g. `"uploads"`).
