---
title: "file info · RUAL Documentation"
description: "Gets basic file information."
canonical: https://docs.rual.nl/block-types/files/file_info
language: en
---

# file info

This block is part of the [`files`](https://docs.rual.nl/block-types/files) group and was last modified in core [`v10.4.28`](https://docs.rual.nl/core-versions/100428).

Gets basic file information.

- file required `file`

- name `value`

- type `value`

- size `number` size in bytes

| `name` |
| --- |
| `size` |
| `type` |

A typical wiring for [file info](https://docs.rual.nl/block-types/files/file_info): the `name` out pin feeds [set custom field](https://docs.rual.nl/block-types/mutations/mutations_set_custom_field); the `size` out pin feeds [<=](https://docs.rual.nl/block-types/condition/condition_lte).

![Studio canvas example for the file info block: typical wiring for file info.](https://docs.rual.nl/canvas-examples/file_info.png)

### Commonly used with

In production blueprints, this block is most often wired together with:

- [set custom field](https://docs.rual.nl/block-types/mutations/mutations_set_custom_field): this block feeds into it.

- [create](https://docs.rual.nl/block-types/globals/trigger_custom_function): feeds into this block. Creates a new function that can be executed using the given name.

- [<=](https://docs.rual.nl/block-types/condition/condition_lte): this block feeds into it. returns true if the number is lower or equal.

- [get fields](https://docs.rual.nl/block-types/object/object_field_getter_multiple): feeds into this block. Gets the selected fields from the given object.

### Version history

Introduced in [`v10.4.28`](https://docs.rual.nl/core-versions/100428).
