# Files

The Files object sanitizes the input coming from the $_FILES global. Especially for multiple uploads for the same key, it will produce a more usable array.

****

- Full class name: `Kirby\Http\Request\Files`
- Source: <https://github.com/getkirby/kirby/tree/5.5.3/src/Http/Request/Files.php#L18>

****

### Files

- [new Files()](https://getkirby.com/docs/reference/objects/http-request/files/__construct.md)
- [$files->__debugInfo()](https://getkirby.com/docs/reference/objects/http-request/files/__debug-info.md)
- [$files->data()](https://getkirby.com/docs/reference/objects/http-request/files/data.md)
- [$files->get()](https://getkirby.com/docs/reference/objects/http-request/files/get.md)
- [$files->toArray()](https://getkirby.com/docs/reference/objects/http-request/files/to-array.md)
- [$files->toJson()](https://getkirby.com/docs/reference/objects/http-request/files/to-json.md)