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

file.size Property

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Gets a size of the user-selected file.

Syntax

JavaScript Get/Set Value at Runtime
value = $au.uploader('uploaderID').files().get(index).size();

Property Value

Type: Number

The size in bytes of this file.