---
title: "Messages.MaxFileSizeExceeded Property  ActiveX/Java Uploader PHP"
canonical: https://www.aurigma.com/docs/us8/JA_P_P_Messages_MaxFileSizeExceeded.htm
product: "Upload Suite 8"
---

# Messages.MaxFileSizeExceeded Property ActiveX/Java Uploader PHP

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 a file which is too big.

## Syntax
 
```
public function getMaxFileSizeExceeded() {
}

public function setMaxFileSizeExceeded($value) {
}
```
 
### Property Value
 
Type: **string**
 
This message states that a user tries to select too large file (i.e. the file size exceeds the [MaxFileSize](https://www.aurigma.com/docs/us8/JA_P_P_Restrictions_MaxFileSize.htm.md) value). 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. This file size exceeds the limit."**.

## Remarks
 
This property is necessary for localization of ActiveX/Java Uploader.

## See Also
 
### Reference
 
- [MaxFileSize Property](https://www.aurigma.com/docs/us8/JA_P_P_Restrictions_MaxFileSize.htm.md)
- [Aurigma.ImageUploader.Messages.MaxFileSizeExceeded ASP.NET PropertyActiveX/Java Uploader](https://www.aurigma.com/docs/us8/JA_P_Aurigma_ImageUploader_Messages_MaxFileSizeExceeded.htm.md)
- [$au.messages.maxFileSizeExceeded JavaScript PropertyActiveX/Java Uploader](https://www.aurigma.com/docs/us8/JA_P_J_$au_messages_maxFileSizeExceeded.htm.md)
