## Aurigma Image Uploader 7.0.11

# restrictions.maxFileCount Property

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

Gets or sets a maximum number of files allowed for upload per one session.

## Syntax

### JavaScript

### Initialize

    $au.uploader({
        restrictions: {
            //...other params...
            maxFileCount: 0,
            //...other params...
        }
    })

### Get/Set Value at Runtime

    $au.uploader('uploaderID').restrictions().maxFileCount(value);
    value = $au.uploader('uploaderID').restrictions().maxFileCount();

### Property Value

Type: Number

The maximum file count allowed for upload per one session. If the value is 0 then there is no limit.

Default value is 0.

## Remarks

Note

Image Uploader Express restricts the maximum number of user-selected files to 100. See the Comparison of Image Uploader Editions topic for details.

## See Also

### Reference

- maxFileCountExceeded Property
- Aurigma.ImageUploader.Restrictions.MaxFileCount ASP.NET Property
- Restrictions.MaxFileCount PHP Property

### Manual

- Setting Limitations for Size and Number of Files