# Upload File Version

> `UiPath.Box.Activities.File.FileVersions.UploadFileVersion`

`UiPath.Box.Activities.File.FileVersions.UploadFileVersion`

Uses the Box [Upload file version](https://developer.box.com/reference/post-files-id-content/) API to upload a new version of an existing file.

## Properties

### Common

* **ContinueOnError** - Specifies if you want the activity to continue running when an error is thrown. This field supports only `Boolean` values.
* **DisplayName** - The display name of the activity. This field supports only `Strings` or `String` variables.

### Input

* **File ID** - The ID of the file. This field supports only `Strings` or `String` variables.
* **File Path** - The path of the file. This field supports only `Strings` or `String` variables.

### Misc

* **Private** - If selected, the values of variables and arguments are no longer logged at Verbose level.

### Options

* **File Name** - An optional new name for the file. If specified, the file is renamed when the new version is uploaded. This field supports only `Strings` or `String` variables.
* **Upload Mode** - Choose one of three options: **Auto**, **Single**, **Chunked**. Select **Single** upload of the file in one piece, **Chunked** upload to upload it in multiple parts, or **Auto** upload to use **Chunked** upload for file size greater than 50 MB, or **Single** upload for file size smaller then 50 MB. The default is **Auto**.

### Output

* **Box File** - A file object is returned if the update is successful. This field supports only `BoxFile` variables.
