CodeCharge Studio

AllowedFileMasks Run-Time Property (PHP)

Applies to

FileUpload Form

Type

string

Access

read/write

Syntax

object->AllowedFileMasks [= value]

Description

Specifies a list of file masks (separated with semicolon) that are allowed by the FileUpload component. If user specifies a file with a mask that matches one of the masks specified in this property, the file will be uploaded (unless the mask is also listed in the DisallowedFileMasks property). Otherwise, the upload will fail and an error message will be displayed. The AllowedFileMasks property corresponds to the "Allowed File Masks" Design-Time property of the FileUpload component.

See also

DisallowedFileMasks Property


On-line, printable versions and updates