---
title: "Uploader.EnableOriginalFilesDeletion Property  ActiveX/Java Uploader PHP"
canonical: https://www.aurigma.com/docs/us8/JA_P_P_Uploader_EnableOriginalFilesDeletion.htm
product: "Upload Suite 8"
---

# Uploader.EnableOriginalFilesDeletion Property ActiveX/Java Uploader PHP

Supported browsers: ![Internet Explorer](https://www.aurigma.com/docs/us8/icons/ie8.png)![Firefox](https://www.aurigma.com/docs/us8/icons/firefox.png)![Google Chrome](https://www.aurigma.com/docs/us8/icons/chrome.png)![Safari](https://www.aurigma.com/docs/us8/icons/safari.png)
 
Gets or sets a value indicating whether successfully uploaded files should be deleted.

## Syntax
 
```
public function getEnableOriginalFilesDeletion() {
}

public function setEnableOriginalFilesDeletion($value) {
}
```
 
### Property Value
 
Type: **boolean**
 
If `true`, after successful upload ActiveX/Java Uploader shows a dialog, asking a user whether the uploaded files should be deleted. If a user clicks **Yes**, the files will be deleted.
 
Default value is **false**.

## Remarks
 
**Note** 
A difference between ActiveX/Java Uploader behavior in Internet Explorer and [other supported browsers](https://www.aurigma.com/docs/us8/system-requirements.htm.md) is the following. When ActiveX/Java Uploader deletes files in Internet Explorer, it moves them in the way specified in the Recycle Bin properties. By default, a standard delete confirmation dialog appears and files are moved to the Recycle Bin if a user clicks **Yes**. However, if ActiveX/Java Uploader deletes files in any of [other supported browsers](https://www.aurigma.com/docs/us8/system-requirements.htm.md), the internal delete confirmation dialog appears and files are removed permanently when a user clicks **Yes**.
 
If the file cannot be deleted, the [DeletingFilesError](https://www.aurigma.com/docs/us8/JA_P_P_Messages_DeletingFilesError.htm.md) message appears.

## See Also
 
### Reference
 
- [DeleteFilesDialog Class](https://www.aurigma.com/docs/us8/JA_T_P_DeleteFilesDialog.htm.md)
- [Aurigma.ImageUploader.Uploader.EnableOriginalFilesDeletion ASP.NET PropertyActiveX/Java Uploader](https://www.aurigma.com/docs/us8/JA_P_Aurigma_ImageUploader_Uploader_EnableOriginalFilesDeletion.htm.md)
- [$au.uploader.enableOriginalFilesDeletion JavaScript PropertyActiveX/Java Uploader](https://www.aurigma.com/docs/us8/JA_P_J_$au_uploader_enableOriginalFilesDeletion.htm.md)
