---
title: "Restrictions..::.MaxTotalFileSize Property ActiveX/Java Uploader ASP.NET"
canonical: https://www.aurigma.com/docs/us8/JA_P_Aurigma_ImageUploader_Restrictions_MaxTotalFileSize.htm
product: "Upload Suite 8"
---

# Restrictions.MaxTotalFileSize Property ActiveX/Java Uploader ASP.NET

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 total file size allowed for upload.
 
**Namespace:** [Aurigma.ImageUploader](https://www.aurigma.com/docs/us8/JA_N_Aurigma_ImageUploader.htm.md)
 **Assembly:** Aurigma.ImageUploader (in Aurigma.ImageUploader.dll)
 
## Syntax
  
```csharp
public long MaxTotalFileSize { get; set; }
```
 
### Property Value
 
Type: [System..Int64](http://msdn2.microsoft.com/en-us/library/6yy583ek)
 
The maximum size (in bytes) of all files selected for upload. If the value is `0`, then there is no limit.
 
**Note** 
When you set the value that is more than 2 Gb, it is recommended to pass such value as a string.
 
Default value is **0**.
 
## Remarks
  
**Note** 
Only original file sizes are taken into account. Size of converted files and other auxiliary data is disregarded. So this property is useful when you upload original files without applying any client-side file transformations.
   
## See Also

### Reference

- [Restrictions Class](https://www.aurigma.com/docs/us8/JA_T_Aurigma_ImageUploader_Restrictions.htm.md)
- [Aurigma.ImageUploader Namespace](https://www.aurigma.com/docs/us8/JA_N_Aurigma_ImageUploader.htm.md)
- [Messages..MaxTotalFileSizeExceeded](https://www.aurigma.com/docs/us8/JA_P_Aurigma_ImageUploader_Messages_MaxTotalFileSizeExceeded.htm.md)
- [$au.restrictions.maxTotalFileSize JavaScript PropertyActiveX/Java Uploader](https://www.aurigma.com/docs/us8/JA_P_J_$au_restrictions_maxTotalFileSize.htm.md)
- [Restrictions.MaxTotalFileSize PHP PropertyActiveX/Java Uploader](https://www.aurigma.com/docs/us8/JA_P_P_Restrictions_MaxTotalFileSize.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)
