Restrictions.DeniedFileMask Property HTML5/Flash Uploader ASP.NET

Supported technologies: HTML 5

Gets or set a file mask for the files that are denied to be uploaded.

Namespace: Aurigma.ImageUploaderFlash
Assembly: Aurigma.ImageUploaderFlash (in Aurigma.ImageUploaderFlash.dll)

Syntax

C#
public string DeniedFileMask { get; set; }

Property Value

Type: System..String

The file mask for the files that are denied to be uploaded. You can use the standard wildcards such as asterisk * (arbitrary substring) and question mark ? (arbitrary character). To specify several masks, separate them by semicolons, e.g. *.exe;*.asp;*.htm. To filter out files without any extension use *.. To match all files (no matter if they have an extension or not) use *.

Default value is "".

Remarks

Note, users still can see files which match this mask in the Open File dialog. The restriction applies only when files are being added to the upload list.

See Also

Reference

Manual