---
title: "restrictions.maxTotalFileSize Property  HTML5/Flash Uploader JavaScript"
canonical: https://www.aurigma.com/docs/us8/FH_P_J_$au_restrictions_maxTotalFileSize.htm
product: "Upload Suite 8"
---

# restrictions.maxTotalFileSize Property HTML5/Flash Uploader JavaScript

Supported technologies: ![Adobe Flash](https://www.aurigma.com/docs/us8/icons/flash.png)
 
Gets or sets a maximum total file size allowed for upload.

## Syntax
 
```
$au.imageUploaderFlash({
    restrictions: {
        //...other params...
        maxTotalFileSize: 0,
        //...other params...
    }
})
```

```
$au.imageUploaderFlash('uploaderID').restrictions().maxTotalFileSize(value);
value = $au.imageUploaderFlash('uploaderID').restrictions().maxTotalFileSize();
```
 
### Property Value
 
Type: **Number**
 
The maximum size (in bytes) of all files selected for upload. If the value is `0`, then there is no limit.
 
Default value is **0**.

## See Also
 
### Reference
 
- [Aurigma.ImageUploaderFlash.Restrictions.MaxTotalFileSize ASP.NET Property HTML5/Flash Uploader](https://www.aurigma.com/docs/us8/FH_P_Aurigma_ImageUploaderFlash_Restrictions_MaxTotalFileSize.htm.md)
- [Restrictions.MaxTotalFileSize PHP Property HTML5/Flash Uploader](https://www.aurigma.com/docs/us8/FH_P_P_Restrictions_MaxTotalFileSize.htm.md)
