# IRPCIndexingDataSource.DownloadFile_EndForFIX

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Server integration API](https://developer.m-files.com/APIs/gRPC-API/integration/index.md) > [Indexing data source](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCIndexingDataSource/index.md)

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

Badges: `Server integration API / specialized` `internal: not for applications` `write` `session`

Ends downloading a file for file data indexing.

- **Service:** [Indexing data source](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCIndexingDataSource/index.md) `MFiles.IRPCIndexingDataSource`
- **gRPC method:** `/MFiles.IRPCIndexingDataSource/DownloadFile_EndForFIX`
- **HTTP (mf-http-grpc):** `POST /grpc/v1/download-file_-end-for-fix`
- **Request:** [`DownloadFile_EndForFIXRequest`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCIndexingDataSource/DownloadFile_EndForFIX/index.md#request)
- **Response:** [`DownloadFile_EndForFIXResponse`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCIndexingDataSource/DownloadFile_EndForFIX/index.md#response)
- **Book and level:** Server integration API, specialized
- **Kind:** write
- **Session:** Required: the session ID from LogIn in the mfiles-session-id-bin metadata.
- **Idempotent:** no
- **Returns metadata structure version:** no
- **Streaming:** none (unary)

<a id="remarks"></a>

## Remarks

**For M-Files components only.** Search indexers call it to close a download started with
[DownloadFile_BeginForFIX](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCIndexingDataSource/DownloadFile_BeginForFIX/index.md).
Applications should not call it.
- Requires a vault session with the vault rights `see_all_objects` and `see_deleted_objects`.

<a id="request"></a>

## Request: DownloadFile_EndForFIXRequest

> Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

| Field | Type | Description |
|---|---|---|
| `download_id` | `int32` | The download session to end. |

<a id="response"></a>

## Response: DownloadFile_EndForFIXResponse

No fields.

<a id="related"></a>

## Related methods

- [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.
- [DownloadFile_ReadBlockForFIX](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCIndexingDataSource/DownloadFile_ReadBlockForFIX/index.md): Gets a specific block from a file from the server for file data indexing.
