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

files.totalFileSize Method

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Returns the total size of files selected for the upload.

Syntax

JavaScript
$au.uploader('uploaderID').files().totalFileSize();

Return Value

Type: Number

The total size (in bytes) of files actually contained in the upload pane.