# Delete Storage File

> `UiPath.Core.Activities.Storage.DeleteStorageFile`

`UiPath.Core.Activities.Storage.DeleteStorageFile`

## Description

Deletes a file from a specified Storage Bucket in Orchestrator.

## Project compatibility

**Windows - Legacy** | **Windows** | **Cross-platform**

## Cross-platform configuration

* **Orchestrator folder path** - The path to the Orchestrator folder you want to use with this activity. If left empty, the current Orchestrator folder is used. This field supports only strings and `String` variables.
* **Storage Bucket Name** - The name of the Storage Bucket the file is located in. This field supports only strings and `String` variables.
* **File Path** - The full path of the file you want to delete. The file must exist in the source Orchestrator Storage container. This field supports only strings and `String` variables.

<sup>1</sup>For cross-platform projects created in Studio Web as part of a solution, the **Orchestrator folder path** field is unavailable.

<sup>2</sup>For cross-platform projects created in Studio Web as part of a solution, the **name** field provides options to **Define new** Orchestrator resources, such as queues, assets, or storage buckets, during design time, or **Open Orchestrator** for resource management.

#### **Advanced options**

**Others**
* **Timeout (milliseconds)** - Specifies the amount of time (in milliseconds) to wait for the activity to run before an error is thrown. The default value is 30000 milliseconds (30 seconds).
* **Continue On Error** - Specifies if the automation should continue even when the activity throws an error. This field only supports Boolean values (True, False). The default value is `False`. As a result, if the field is blank and an error is thrown, the execution of the project stops. If the value is set to `True`, the execution of the project continues regardless of any error.
  :::note
  If this activity is included in **Try Catch** and the value of the **ContinueOnError** property is True, no error is caught when the project is executed.
  :::

## Windows - Legacy, Windows configuration

* **Path** - The full path of the file you want to delete. The file must exist in the source Orchestrator Storage container. This field supports only strings and `String` variables.
* **Storage Bucket Name** - The name of the Storage Bucket the file is located in. This field supports only strings and `String` variables.

**Properties panel**

#### **Common**

* **Continue On Error** - Specifies if the automation should continue even when the activity throws an error. This field only supports Boolean values (`True`, `False`). The default value is `False`. As a result, if the field is blank and an error is thrown, the execution of the project stops. If the value is set to `True`, the execution of the project continues regardless of any error.
  :::note
  If this activity is included in **Try Catch** and the value of the **ContinueOnError** property is True, no error is caught when the project is executed.
  :::
* **Display Name** - The display name of the activity.
* **Timeout (milliseconds)** - Specifies the amount of time (in milliseconds) to wait for the activity to run before an error is thrown. The default value is 30000 milliseconds (30 seconds).

#### **Misc**

* **Folder Path** - The path to the Orchestrator folder you want to use with this activity. If left empty, the current Orchestrator folder is used. This field supports only strings and `String` variables.
* **Private** - If selected, the values of variables and arguments are no longer logged at Verbose level.

**Storage**
* **Path** - The full path of the file you want to delete. The file must exist in the source Orchestrator Storage container. This field supports only strings and `String` variables.
* **Storage Bucket Name** - The name of the Storage Bucket the file is located in. This field supports only strings and `String` variables.
