native

filesize

Syntax

native filesize(const filename[], any:...);

Description

Gets the formatted file size in bytes.

Parameters

filename Path to the file
... Variable number of format parameters

Return

File size in bytes, otherwise -1 if file not found