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

Messages.CannotReadFile Property

Gets or sets the message displayed when the read file error occurs.

Syntax

PHP Initialize
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