W3cubDocs

/DOM

File.size

Returns the size of a file in bytes.

Syntax

var size = instanceOfFile.size

Value

A number

Specification

Not part of any specification.

See also

© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/File/size