Control Panel
Platform
Website Builder
Turbo CSS
Pricing
Blog
Log in
Sign up
Examples
Packages
How to
How it works
API reference
Glossary
File types
sjs-4
sjs-4e
sjs-4et
accept-2
accept-3
app-1
contextmenu-1
css-1
css-2
css-2-wrapper
html-1
image-1
markdown-1
redirect-301
sh-1
static-1
svg-1
deprecated types
accept-1
sjs-3
Injected variables
Collection
File
Attributes
Execution
Misc
Mutation
Properties
attrHash
attrSize
body
bodyHash
bodySize
bucketId
childrenHash
created
createdBy
domain
fileHash
hidden
id
isPage
link
localPath
modified
modifiedBy
name
path
placeholder
statusCode
subtreeModified
subtreeModifiedBy
subtreeSize
title
type
Traversal
os
User
util
File links
App interface
Hotkeys & mouse controls
HTML classes
Filesystem Query Language
Reserved namespaces
Filesystem interface versions
WARNING: The [sjs-3] engine was deprecated, use [sjs-4] instead.

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.

Subscribe to the Boomla newsletter!
Products
Sign up Status Pricing Changelog Terms & Conditions Privacy Policy
Platform
How to How it works API reference Packages Glossary
Company
About Contact Support