Restrictions.DeniedFileMask Property HTML5/Flash Uploader PHP

Supported technologies:

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

Syntax

PHP Initialize
public function getDeniedFileMask() {
}

public function setDeniedFileMask($value) {
}

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. To filter out files without any extension use *.. To match all files (no matter if they have an extension or not) use *.

Default value is "".

Remarks

Note, users still can see files which match this mask in the Open File dialog. The restriction applies only when files are being added to the upload list.

See Also

Reference

Manual