## Aurigma Image Uploader 7.0.15

# Restrictions.FileMask Property

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

Gets or sets a file mask for the files which are allowed to be uploaded.

## Syntax

### PHP

    public function getFileMask() {
    }

    public function setFileMask($value) {
    }

### Property Value

Type: string

The file mask for the files which are allowed 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. *.jpg;*.jpeg;*.jpe. To display all possible files, use *.*.

Default value is "*.*".

## See Also

### Reference

- FileNameNotAllowed Property
- Aurigma.ImageUploader.Restrictions.FileMask ASP.NET Property
- $au.restrictions.fileMask JavaScript Property

### Manual

- Filtering Files by Names and Types