restrictions.maxTotalFileSize Property HTML5/Flash Uploader JavaScript

Supported technologies: Adobe Flash

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

Syntax

JavaScript Initialize
$au.imageUploaderFlash({
    restrictions: {
        //...other params...
        maxTotalFileSize: 0,
        //...other params...
    }
})
Get/Set Value at Runtime
$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