WARNING: The [sjs-3] engine was deprecated, use [sjs-4] instead. See sjs-4: bodySize.

File.prototype.bodySize()

Return the size of the file’s body.

Syntax

file.bodySize() uint64

Description

Return the size of the file’s body in bytes. Links are not followed.

Examples

Basic example.