Returns the size of a file in bytes.

1 file.length

<file.length>
    <file /> !
</file.length>
Example

Print on screen the size of a file.

Copy
<xsql-script name='file_length_sample1'>
    <body>
        <set name='m_path'>
            <string>c:<file.separator />jas<file.separator />webstudio.gc</string>
        </set>
        <println trim='true'>
            Size of<string.space /><m_path/><string.space />:<string.space />
            <file.length>
                <file name='#m_path' type='absolute' />
            </file.length>
            <string.space />Bytes
        </println>
    </body>
</xsql-script>