This documentation is for the old version. Go to the latest Upload Suite docs

restrictions.deniedFileMask Property

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Gets or set a file mask for the files that are denied to be uploaded.

Syntax

JavaScript Initialize
$au.uploader({
    restrictions: {
        //...other params...
        deniedFileMask: "",
        //...other params...
    }
})
Get/Set Value at Runtime
$au.uploader('uploaderID').restrictions().deniedFileMask(value);
value = $au.uploader('uploaderID').restrictions().deniedFileMask();

Property Value

Type: String

The file mask for the files that are denied to be uploaded. You can use the standard wildcards such as asterisk * (arbitrary substring) and question mark ? (arbitrary character). To specify several masks, separate them by semicolons, e.g. *.exe;*.asp;*.htm.

Default value is "".

See Also

Reference

Manual