---
title: "messages.maxFileCountExceeded Property  HTML5/Flash Uploader JavaScript"
canonical: https://www.aurigma.com/docs/us8/FH_P_J_$au_messages_maxFileCountExceeded.htm
product: "Upload Suite 8"
---

# messages.maxFileCountExceeded Property HTML5/Flash Uploader JavaScript

Supported technologies: ![Adobe Flash](https://www.aurigma.com/docs/us8/icons/flash.png)
 
Gets or sets a message which states that a user tries to select too many files.

## Syntax
 
```
$au.imageUploaderFlash({
    messages: {
        //...other params...
        maxFileCountExceeded: "Not all files were added. You allowed to upload no more than {0} file(s).",
        //...other params...
    }
})
```

```
$au.imageUploaderFlash('uploaderID').messages().maxFileCountExceeded(value);
value = $au.imageUploaderFlash('uploaderID').messages().maxFileCountExceeded();
```
 
### Property Value
 
Type: **String**
 
The message which states that a user tries to select too many files (i.e. the number of the selected files is bigger than the [maxFileCount](https://www.aurigma.com/docs/us8/FH_P_J_$au_restrictions_maxFileCount.htm.md) value). To disable this message, set it to an empty string.
 
- *{0}*
    - replaced by a maximum number of files allowed for upload per one session.

Default value is **"Not all files were added. You allowed to upload no more than {0} file(s)."**.

## Remarks
 
This property is necessary for localization of HTML5/Flash Uploader.

## See Also
 
### Reference
 
- [maxFileCount Property](https://www.aurigma.com/docs/us8/FH_P_J_$au_restrictions_maxFileCount.htm.md)
- [Aurigma.ImageUploaderFlash.Messages.MaxFileCountExceeded ASP.NET Property HTML5/Flash Uploader](https://www.aurigma.com/docs/us8/FH_P_Aurigma_ImageUploaderFlash_Messages_MaxFileCountExceeded.htm.md)
- [Messages.MaxFileCountExceeded PHP Property HTML5/Flash Uploader](https://www.aurigma.com/docs/us8/FH_P_P_Messages_MaxFileCountExceeded.htm.md)
