## Aurigma Image Uploader Flash 1.0

# restrictions.fileFilters Property

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

Gets or sets file filtering options.

## Syntax

### Initialize

### JavaScript

    $au.imageUploaderFlash({
        restrictions: {
            //...other params...
            fileFilters: [],
            //...other params...
        }
    })

### Get/Set Value at Runtime

### JavaScript

    $au.imageUploaderFlash('uploaderID').restrictions().fileFilters(value);
    value = $au.imageUploaderFlash('uploaderID').restrictions().fileFilters();

### Property Value

Type: Array

The array of filtering options.

Default value is [].

## Example

The code sample below demonstrates how to set three filtering options, namely, Images, Documents, and All files.

### JavaScript

    var fu = $au.imageUploaderFlash({id: 'Uploader1'});

    fu.restrictions({
        fileFilters: [
            ['Images (*.jpg; *.jpeg; *.png; *.gif; *.bmp)', '*.jpg;*.jpeg;*.png;*.gif;*.bmp'],
            ['Documents (*.txt;*.rtf;*.pdf;*.doc;*.docx;*.xls;*.xlsx)', '*.txt;*.rtf;*.pdf;*.doc;*.docx;*.xls;*.xlsx'],
            ['All files (*.*)', '*.*']
        ]
    });

## See Also

### Reference

- Aurigma.Uploader.Restrictions.FileFilters ASP.NET Property
- Restrictions.FileFilters PHP Property

### Manual

- Configuring Restrictions and File Filters