Sets the maximum size for an uploadable file. If the user attempts to upload a file larger than this, an error message is issued.
Can be specified as an integer, or an integer terminated by K(kilobytes) or M(Megabytes).
The default value is specified in server property Ufs.maxUploadFileSize (configured using the server administration application).
If set to null, the default value will be used.
An explicit maximum size value must always be specified, it is not possible to allow upload of files of unlimited size.
Javascript example:
var opts1 = new UploadOptions();
opts1.maxFileSize = "2M";
form.uploadFileFromBrowser(opts1);
var opts2 = new UploadOptions();
opts2.maxFileSize = "100000";
form.uploadFileFromBrowser(opts2);
Ufs.maxUploadFileSize(configured using the server administration application). If set tonull, the default value will be used.An explicit maximum size value must always be specified, it is not possible to allow upload of files of unlimited size.
Javascript example: