> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SaveCustomFile

> Use SaveCustomFile in the ABBYY FlexiCapture API to store a user file on the Application Server by passing a File object within an active session.

## What it does

Saves a user file on the Application Server.

## Definition

```
void SaveCustomFile( int sessionId, File file );
```

## Parameters

| **Name**  | **Type**                                   | **Description**                                    |
| --------- | ------------------------------------------ | -------------------------------------------------- |
| sessionId | int                                        | The ID of the connection to the Application Server |
| file      | [File](/flexi-capture/api/structures/file) | A user file                                        |

## Returned value

None.
