# FileDataStorage

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Enums](https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/MFiles.FileDataStorage/

File data storage enumeration.

- **Full name:** `MFiles.FileDataStorage`
- **Proto file:** [`mfiles/enums.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/enums.proto)

<a id="values"></a>

## Values

| Name | Number | Description |
|---|---|---|
| <a id="v-FILE_DATA_STORAGE_DEFAULT"></a>`FILE_DATA_STORAGE_DEFAULT` | 0 | Default. Means that the file data storage is automatically selected based on the database engine. |
| <a id="v-FILE_DATA_STORAGE_DISK"></a>`FILE_DATA_STORAGE_DISK` | 1 | On-disk storage i.e. the file data is stored on a local or remote disk. |
| <a id="v-FILE_DATA_STORAGE_DATABASE"></a>`FILE_DATA_STORAGE_DATABASE` | 2 | Database storage i.e. the file data is stored in a database. |
| <a id="v-FILE_DATA_STORAGE_EXTERNAL"></a>`FILE_DATA_STORAGE_EXTERNAL` | 3 | External storage identified by a connection string, e.g., a Windows Azure's BLOB Storage. |
| <a id="v-FILE_DATA_STORAGE_MASTER"></a>`FILE_DATA_STORAGE_MASTER` | 4 | External storage with Master Storage API. |

<a id="used-in-fields"></a>

## Used in fields

- [`Vault.file_data_storage`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.Vault/index.md#f-file_data_storage): Identifies file data storage to use. Typically specifies that the file data storage is determined automatically.
