## Aurigma Image Uploader 7.0.15

# uploader.enableOriginalFilesDeletion Property

- Collapse All Sections
- See Also
- Language Filter ( all languages )
- Supported browsers:

Gets or sets a value indicating whether successfully uploaded files should be deleted.

## Syntax

### JavaScript

### Initialize

    $au.uploader({
        //...other params...
        enableOriginalFilesDeletion: false,
        //...other params...
    })

### Get/Set Value at Runtime

    $au.uploader('uploaderID').enableOriginalFilesDeletion(value);
    value = $au.uploader('uploaderID').enableOriginalFilesDeletion();

### Property Value

Type: Boolean

If true, after successful upload Image 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 Image Uploader behavior in Internet Explorer and other supported browsers is the following. When Image 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 Image Uploader deletes files in any of other supported browsers, the internal delete confirmation dialog appears and files are removed permanently when a user clicks Yes.

If the file cannot be deleted, the deletingFilesError message appears.

## See Also

### Reference

- deleteFilesDialog Class
- Aurigma.ImageUploader.Uploader.EnableOriginalFilesDeletion ASP.NET Property
- Uploader.EnableOriginalFilesDeletion PHP Property