## Aurigma Image Uploader Flash 1.0

# messages.fileTooLargeError Property

- Collapse All Sections
- See Also
- Language Filter ( all languages )

Gets or sets the message displayed when the user tries to add a file larger than the maxFileSize restriction.

## Syntax

### Initialize

### JavaScript

    $au.imageUploaderFlash({
        messages: {
            //...other params...
            fileTooLargeError: "Size of '{0}' is too large to be added. Maximum allowed size is {1}.",
            //...other params...
        }
    })

### Get/Set Value at Runtime

### JavaScript

    $au.imageUploaderFlash('uploaderID').messages().fileTooLargeError(value);
    value = $au.imageUploaderFlash('uploaderID').messages().fileTooLargeError();

### Property Value

Type: String

The message displayed when the user tries to add a file larger than the maxFileSize restriction.

To be able to display additional information in this error message, special placeholders are used:

{0}
  replaced by the name of the file which cannot be added.
{1}
  replaced by the maxFileSize value.

Default value is "Size of '{0}' is too large to be added. Maximum allowed size is {1}.".

## See Also

### Reference

- Aurigma.Uploader.Messages.FileTooLargeError ASP.NET Property
- Messages.FileTooLargeError PHP Property