Gets or sets a maximum file size allowed for upload to the server.
$au.uploader({
restrictions: {
//...other params...
maxFileSize: 0,
//...other params...
}
})
$au.uploader('uploaderID').restrictions().maxFileSize(value);
value = $au.uploader('uploaderID').restrictions().maxFileSize();
Type: Number
The maximum size (in bytes) for files allowed for upload. If the value is 0, then there is no limit.
Default value is 0.
This property limits only a single file. If you want to set limit for all selected files, use the maxTotalFileSize property.