FILESIZE - Get the size of a file (Reports & Settings Report Generator function)

From Catalyst
Jump to: navigation, search

Syntax

$FILESIZE{filepath}

Description

Given the filepath, this function will return just the size in bytes of the file.

Parameters

filepath
A text parameter that can not be omitted.
The path and filename of the file.

Returns

A numeric value. The size of the file in bytes. Eg. Divide this value by 1024 to get the number of Kilobytes.