uploader.enableOriginalFilesDeletion Property ActiveX/Java Uploader JavaScript

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

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 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 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, 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