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

Restrictions.MaxFileSize Property

Gets or sets a maximum file size allowed for upload to the server.

Syntax

PHP Initialize
public function getMaxFileSize() {
}

public function setMaxFileSize($value) {
}

Property Value

Type: integer

The maximum size (in bytes) for files allowed for upload. If the value is 0, then there is no limit.

Default value is 0.

See Also

Reference