messages.deletingFilesError Property ActiveX/Java Uploader JavaScript

Supported browsers: FirefoxGoogle ChromeSafari

Gets or sets a message which states that the uploaded file cannot be deleted.

Syntax

JavaScript Initialize
$au.uploader({
    messages: {
        //...other params...
        deletingFilesError: "The file '[name]' cannot be deleted",
        //...other params...
    }
})

Property Value

Type: String

The message which states that the uploaded file cannot be deleted, e.g. it is used by another application. It can contain the following placeholder:

[name]
replaced by the name of the file which cannot be deleted.

Default value is "The file '[name]' cannot be deleted".

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.

This property is necessary for localization of ActiveX/Java Uploader.

See Also

Reference