---
title: "FileSettings.MaxFileSize Property  ActiveX/Java Uploader PHP"
canonical: https://www.aurigma.com/docs/us8/JA_P_P_FileSettings_MaxFileSize.htm
product: "Upload Suite 8"
---

# FileSettings.MaxFileSize 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 maximum allowable size for file to be uploaded.

## Syntax
 
```
public function getMaxFileSize() {
}

public function setMaxFileSize($value) {
}
```
 
### Property Value
 
Type: **integer**
 
The maximum allowable size for file to be uploaded.
 
Default value is **5368709120**.

## See Also
 
### Reference
 
- [Aurigma.ImageUploader.AmazonS3.FileSettings.MaxFileSize ASP.NET PropertyActiveX/Java Uploader](https://www.aurigma.com/docs/us8/JA_P_Aurigma_ImageUploader_AmazonS3_FileSettings_MaxFileSize.htm.md)
