wwUtils::FileSize

Returns the size of a file on disk.

FileSize(lcFileName)

Return Value

numeric - size of the file or 0 if it doesn't exist or is empty. Recommend to check for file before using this function.

Parameters

lcFileName
Full path to the file to get the size for.


See also:

Library wwUtils

© West Wind Technologies, 2023 • Updated: 09/17/15
Comment or report problem with topic