Gets or sets a value indicating whether a file with the same name in the destination folder should be overwritten by a file uploaded using the upload token.

Syntax

PHP

public function getFileOverwrite() {
}

public function setFileOverwrite($value) {
}

Property Value

Type: boolean

If true, a file with the same name in the destination folder will be overwritten by a file uploaded using the upload token. Otherwise, name collisions will result in an upload error.

Default value is false.