---
title: "messages.maxFileCountExceeded Property  ActiveX/Java Uploader JavaScript"
canonical: https://www.aurigma.com/docs/us8/JA_P_J_$au_messages_maxFileCountExceeded.htm
product: "Upload Suite 8"
---

# messages.maxFileCountExceeded Property ActiveX/Java Uploader JavaScript

Supported browsers: ![Internet Explorer](https://www.aurigma.com/docs/us8/icons/ie8.png)![Firefox](https://www.aurigma.com/docs/us8/icons/firefox.png)![Google Chrome](https://www.aurigma.com/docs/us8/icons/chrome.png)![Safari](https://www.aurigma.com/docs/us8/icons/safari.png)
 
Gets or sets a message which states that a user tries to select too many files.

## Syntax
 
```
$au.uploader({
    messages: {
        //...other params...
        maxFileCountExceeded: "The file '[name]' cannot be selected. Amount of files exceeds the limit.",
        //...other params...
    }
})
```
 
### Property Value
 
Type: **String**
 
The message stating a file name that can not be selected due to the [maxFileCount](https://www.aurigma.com/docs/us8/JA_P_J_$au_restrictions_maxFileCount.htm.md) limitation. To disable this message, set it to an empty string. It can contain the following placeholder:
 
- *[name]*
    - replaced by the name of the file which cannot be added.

Default value is **"The file '[name]' cannot be selected. Amount of files exceeds the limit."**.

## Remarks
 
This property is necessary for localization of ActiveX/Java Uploader.

## See Also
 
### Reference
 
- [maxFileCount Property](https://www.aurigma.com/docs/us8/JA_P_J_$au_restrictions_maxFileCount.htm.md)
- [Aurigma.ImageUploader.Messages.MaxFileCountExceeded ASP.NET PropertyActiveX/Java Uploader](https://www.aurigma.com/docs/us8/JA_P_Aurigma_ImageUploader_Messages_MaxFileCountExceeded.htm.md)
- [Messages.MaxFileCountExceeded PHP PropertyActiveX/Java Uploader](https://www.aurigma.com/docs/us8/JA_P_P_Messages_MaxFileCountExceeded.htm.md)
