This documentation is for the old version. Go to the latest Upload Suite docs

restrictions.maxFileSize Property

Gets or sets a maximum file size allowed for upload to the server.


JavaScript Initialize
    restrictions: {
        //...other params...
        maxFileSize: 0,
        //...other params...
Get/Set Value at Runtime
value = $au.imageUploaderFlash('uploaderID').restrictions().maxFileSize();

Property Value

Type: Number

The maximum size (in bytes) for files allowed for upload. If the value is 0, then there is no limit.

Default value is 0.

See Also