---
title: "Messages.MaxFileSizeExceeded Property  HTML5/Flash Uploader PHP"
canonical: https://www.aurigma.com/docs/us8/FH_P_P_Messages_MaxFileSizeExceeded.htm
product: "Upload Suite 8"
---

# Messages.MaxFileSizeExceeded Property HTML5/Flash Uploader PHP

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 a file that is too big.

## Syntax
 
```
public function getMaxFileSizeExceeded() {
}

public function setMaxFileSizeExceeded($value) {
}
```
 
### Property Value
 
Type: **string**
 
The message which states that a user tries to select a file which is too big (i.e. the file size exceeds the [MaxFileSize](https://www.aurigma.com/docs/us8/FH_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 **"Size of '{0}' is too large to be added. Maximum allowed size is {1}."**.

## Remarks
 
This property is necessary for localization of HTML5/Flash Uploader.

## See Also
 
### Reference
 
- [MaxFileSize Property](https://www.aurigma.com/docs/us8/FH_P_P_Restrictions_MaxFileSize.htm.md)
- [Aurigma.ImageUploaderFlash.Messages.MaxFileSizeExceeded ASP.NET Property HTML5/Flash Uploader](https://www.aurigma.com/docs/us8/FH_P_Aurigma_ImageUploaderFlash_Messages_MaxFileSizeExceeded.htm.md)
- [$au.messages.maxFileSizeExceeded JavaScript Property HTML5/Flash Uploader](https://www.aurigma.com/docs/us8/FH_P_J_$au_messages_maxFileSizeExceeded.htm.md)
