Lua
C++
Edit

FileSize

This function gets the size of a file.

Syntax

Parameter Description
path The file path to check.
packages If set to true, all loaded packages will be checked after the file system.

Returns

Returns the size of the file at the specified path if it exists, otherwise returns zero.

Copyright © 2024 Ultra Software.
All rights reserved.