---
title: "messages.fileSizeTooSmall Property  ActiveX/Java Uploader JavaScript"
canonical: https://www.aurigma.com/docs/us8/JA_P_J_$au_messages_fileSizeTooSmall.htm
product: "Upload Suite 8"
---

# messages.fileSizeTooSmall Property ActiveX/Java Uploader JavaScript

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 message which states that a user tries to select a file that is too small.

## Syntax
 
```
$au.uploader({
    messages: {
        //...other params...
        fileSizeTooSmall: "The file '[name]' cannot be selected. This file size is smaller than the limit.",
        //...other params...
    }
})
```
 
### Property Value
 
Type: **String**
 
The message which states that a user tries to select a file that is too small (i.e. the file size is smaller than [minFileSize](https://www.aurigma.com/docs/us8/JA_P_J_$au_restrictions_minFileSize.htm.md) value). It can contain the following placeholder:
 
- *[name]*
    - replaced by the name of the file which cannot be added.

Default value is **"The file '[name]' cannot be selected. This file size is smaller than the limit."**.

## Remarks
 
This property is necessary for localization of ActiveX/Java Uploader.

## See Also
 
### Reference
 
- [minFileSize Property](https://www.aurigma.com/docs/us8/JA_P_J_$au_restrictions_minFileSize.htm.md)
- [Aurigma.ImageUploader.Messages.FileSizeTooSmall ASP.NET PropertyActiveX/Java Uploader](https://www.aurigma.com/docs/us8/JA_P_Aurigma_ImageUploader_Messages_FileSizeTooSmall.htm.md)
- [Messages.FileSizeTooSmall PHP PropertyActiveX/Java Uploader](https://www.aurigma.com/docs/us8/JA_P_P_Messages_FileSizeTooSmall.htm.md)
