FileUploadControl.setMaximumFileSize

Sets the maximum file size. This is a numerical value of bytes, or xK, xM, or xG for kilobytes, megabytes and gigabytes respectively. E.g. 50M is a maximum file size of 50 megabytes.

Further documentation.

Parameters

java.lang.String  maximumFileSize,