---
title: "restrictions.minFileCount Property  ActiveX/Java Uploader JavaScript"
canonical: https://www.aurigma.com/docs/us8/JA_P_J_$au_restrictions_minFileCount.htm
product: "Upload Suite 8"
---

# restrictions.minFileCount 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 minimum number of files allowed for upload per one session.

## Syntax
 
```
$au.uploader({
    restrictions: {
        //...other params...
        minFileCount: 1,
        //...other params...
    }
})
```

```
$au.uploader('uploaderID').restrictions().minFileCount(value);
value = $au.uploader('uploaderID').restrictions().minFileCount();
```
 
### Property Value
 
Type: **Number**
 
The minimum file count allowed for upload per one session.
 
Default value is **1**.

## Remarks
 
**Note** 
The **Upload** button is disabled if the number of files selected for upload less than this value.

## See Also
 
### Reference
 
- [Aurigma.ImageUploader.Restrictions.MinFileCount ASP.NET PropertyActiveX/Java Uploader](https://www.aurigma.com/docs/us8/JA_P_Aurigma_ImageUploader_Restrictions_MinFileCount.htm.md)
- [Restrictions.MinFileCount PHP PropertyActiveX/Java Uploader](https://www.aurigma.com/docs/us8/JA_P_P_Restrictions_MinFileCount.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)
