LassoScript Utility
Basics Browse Detail


Tag Link [File->Size] Category File
Type Member Source Available No
Support Preferred Version 7.0
Change Unchanged Data Source Any
Output Type Integer Security File
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0


Returns size of the file in bytes.


[File Variable->Size]


No Parameters Required.


To return information about a file:

The [File->Name], [File->Path], and [File->Size] tags can be used to output the name, path, and size (in bytes) of a file. The example below outputs the file name, path, and size delimited by HTML line breaks.

[Var:'File'=(File: 'myfile.txt', File_OpenRead, File_ModeChar)]