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

restrictions Properties

The restrictions type exposes the following properties.

Properties

NameDescription
Public property fileMask Gets or sets a file mask for the files which are allowed to be uploaded.
Public property maxFileCount Gets or sets a maximum number of files allowed for upload per one session.
Public property maxFileSize Gets or sets a maximum file size allowed for upload to the server.
Public property maxImageHeight Gets or sets a maximum image height allowed for upload.
Public property maxImageWidth Gets or sets a maximum image width allowed for upload.
Public property maxTotalFileSize Gets or sets a maximum total file size allowed for upload.
Public property minFileCount Gets or sets a minimum number of files allowed for upload per one session.
Public property minFileSize Gets or sets a minimum file size allowed for upload.
Public property minImageHeight Gets or sets a minimum image height allowed for upload.
Public property minImageWidth Gets or sets a minimum image width allowed for upload.