$WBFSIZE - file size

Availability
$WBFSIZE is available for use with all WBSP commands.

Syntax
$WBFSIZE{filename}
$WBFSIZE[filename]

Parameters
filename - any valid file name respecting WhizBase path rules

Returns
The size of requested file in bytes.

Example

<!--
[FormFields]
wb_command=r
-->
<!--WB_BeginTemplate-->
<html>
<head>
<title>File Size</title>
</head>
<body>
This file contains $wbfsize[$wbe[script_name]] bytes of code.
</body>
</html>

After running this example, the resulting page in browser should look like this:

This file contains 203 bytes of code.