---
title: "Restrictions.MinFileSize Property  ActiveX/Java Uploader PHP"
canonical: https://www.aurigma.com/docs/us8/JA_P_P_Restrictions_MinFileSize.htm
product: "Upload Suite 8"
---

# Restrictions.MinFileSize 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 minimum file size allowed for upload.

## Syntax
 
```
public function getMinFileSize() {
}

public function setMinFileSize($value) {
}
```
 
### Property Value
 
Type: **integer**
 
The minimum allowed file size (in bytes). If the value is `0`, then there is no limit.
 
Default value is **0**.

## See Also
 
### Reference
 
- [FileSizeTooSmall Property](https://www.aurigma.com/docs/us8/JA_P_P_Messages_FileSizeTooSmall.htm.md)
- [Aurigma.ImageUploader.Restrictions.MinFileSize ASP.NET PropertyActiveX/Java Uploader](https://www.aurigma.com/docs/us8/JA_P_Aurigma_ImageUploader_Restrictions_MinFileSize.htm.md)
- [$au.restrictions.minFileSize JavaScript PropertyActiveX/Java Uploader](https://www.aurigma.com/docs/us8/JA_P_J_$au_restrictions_minFileSize.htm.md)

### Manual
 
- [Setting Limitations for Size and Number of Files](https://www.aurigma.com/docs/us8/setting-limitations-for-size-and-number-of-files.htm.md)
