GetFilelength (open)
Get the size of a file (a file on disk or a blob)
Syntax
LOADLIB "wh::files.whlib";
INTEGER64 FUNCTION GetFilelength(INTEGER filehandle)Parameters
INTEGER filehandleID of file, as returned by OpenBlobAsFile, OpenDiskFile or CreateDiskFile
Return value
INTEGER64The size of the file in bytes
Description
Get the size of a file on disk. For blobs, you can also use LENGTH on the BLOB itself.