# FileOutline

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) > [Messages](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/index.md)

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

The size and checksum of the content of a download.

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

<a id="fields"></a>

## Fields

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="f-size"></a>`size` | `int64` | 1 | The size of the content in bytes, in the downloaded format. |
| <a id="f-size_precision"></a>`size_precision` | [`FileSizePrecision`](https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/MFiles.FileSizePrecision/index.md) | 2 | The file size precision. If the file size precision is 'exact', the size can be used for reading the file content. If the precision is 'unknown', the size field should not be used at all. Values: `FILE_SIZE_PRECISION_EXACT` (0), `FILE_SIZE_PRECISION_ESTIMATE` (1), `FILE_SIZE_PRECISION_UNKNOWN` (2). |
| <a id="f-md5_checksum"></a>`md5_checksum` | `string` | 3 | The MD5 checksum as 32 hexadecimal digits, if requested; 32 zeros otherwise. |

<a id="used-by-methods"></a>

## Used by methods

- [IRPCDocumentOperationsFileIOInternal.GetFileOutline](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCDocumentOperationsFileIOInternal/GetFileOutline/index.md): Gets the size and MD5 checksum of a file version.
- [IRPCIndexingDataSource.DownloadFile_BeginForFIX](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCIndexingDataSource/DownloadFile_BeginForFIX/index.md): Begins downloading a file for file data indexing.
- [IRPCObjectOperations.DownloadFile_Begin](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/DownloadFile_Begin/index.md): Opens a download session for a file version and returns its ID, the content size and, on request, its MD5 checksum.

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

## Used in fields

- [`GetFileOutlineResponse.file_outline`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCDocumentOperationsFileIOInternal/GetFileOutline/index.md#response): `size` in bytes (`size_precision` is `FILE_SIZE_PRECISION_EXACT`) and `md5_checksum` as 32 hexadecimal digits.
- [`DownloadFile_BeginForFIXResponse.outline`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCIndexingDataSource/DownloadFile_BeginForFIX/index.md#response): Receives outline information of the file.
- [`DownloadFile_BeginResponse.file_outline`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/DownloadFile_Begin/index.md#response): The size of the content to download, in the requested format, and the checksum if requested.
