The FileSize function returns an integer containing the size in bytes of the file filename or, if no filename is specified, of the table file currently being read.
The name of a file, if necessary including path, as a folder or web file data connection. If you don't specify a file name, the table file currently being read is used.
Example: 'lib://Table Files/'
In legacy scripting mode, the following path formats are also supported:
LOAD *, FileSize( ) as X from abc.txt;
|Will return the size of the specified file (abc.txt) as an integer in field X in each record read.|
|FileSize( 'lib://DataFiles/xyz.xls' )||Will return the size of the file xyz.xls.|