restrictions.minFileSize Property ActiveX/Java Uploader JavaScript

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Gets or sets a minimum file size allowed for upload.


JavaScript Initialize
    restrictions: {
        //...other params...
        minFileSize: 0,
        //...other params...
Get/Set Value at Runtime
value = $au.uploader('uploaderID').restrictions().minFileSize();

Property Value

Type: Number

The minimum allowed file size (in bytes). If the value is 0, then there is no limit.

Default value is 0.

See Also