---
title: "Messages.CannotReadFile Property  HTML5/Flash Uploader PHP"
canonical: https://www.aurigma.com/docs/us8/FH_P_P_Messages_CannotReadFile.htm
product: "Upload Suite 8"
---

# Messages.CannotReadFile Property HTML5/Flash Uploader PHP

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
 
```
public function getCannotReadFile() {
}

public function setCannotReadFile($value) {
}
```
 
### 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)
- [$au.messages.cannotReadFile JavaScript Property HTML5/Flash Uploader](https://www.aurigma.com/docs/us8/FH_P_J_$au_messages_cannotReadFile.htm.md)
