---
title: "messages.cannotReadFile Property  HTML5/Flash Uploader JavaScript"
canonical: https://www.aurigma.com/docs/us8/FH_P_J_$au_messages_cannotReadFile.htm
product: "Upload Suite 8"
---

# messages.cannotReadFile Property HTML5/Flash Uploader JavaScript

Supported technologies: ![Adobe Flash](https://www.aurigma.com/docs/us8/icons/flash.png)
 
Gets or sets the message displayed when the read file error occurs.

## Syntax
 
```
$au.imageUploaderFlash({
    messages: {
        //...other params...
        cannotReadFile: "Cannot read file: {0}.",
        //...other params...
    }
})
```

```
$au.imageUploaderFlash('uploaderID').messages().cannotReadFile(value);
value = $au.imageUploaderFlash('uploaderID').messages().cannotReadFile();
```
 
### Property Value
 
Type: **String**
 
The message displayed when the read file error occurs.
 
To be able to display additional information in this error message, special placeholder is used:
 
- *{0}*
    - replaced by the name of the file which cannot be read.

Default value is **"Cannot read file: {0}."**.

## See Also
 
### Reference
 
- [Aurigma.ImageUploaderFlash.Messages.CannotReadFile ASP.NET Property HTML5/Flash Uploader](https://www.aurigma.com/docs/us8/FH_P_Aurigma_ImageUploaderFlash_Messages_CannotReadFile.htm.md)
- [Messages.CannotReadFile PHP Property HTML5/Flash Uploader](https://www.aurigma.com/docs/us8/FH_P_P_Messages_CannotReadFile.htm.md)
