## Aurigma Image Uploader 7.0.37

# Restrictions..::.MaxTotalFileSize Property

- Collapse All Sections
- Restrictions Class
- See Also
- Language Filter ( all languages )
- Supported browsers:

Gets or sets a maximum total file size allowed for upload.

Namespace: Aurigma.ImageUploader
Assembly: Aurigma.ImageUploader (in Aurigma.ImageUploader.dll)

## Syntax

### Visual Basic

    Public Property MaxTotalFileSize As Long

### C#

    public long MaxTotalFileSize { get; set; }

### Property Value

Type: System..::.Int64

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
- Aurigma.ImageUploader Namespace
- Messages..::.MaxTotalFileSizeExceeded
- $au.restrictions.maxTotalFileSize JavaScript Property
- Restrictions.MaxTotalFileSize PHP Property

### Manual

- Setting Limitations for Size and Number of Files