[File_GetSize] returns the size in bytes of a file. Accepts one parameter, the name of the file to be inspected.
The file tags are protected by four different permissions. The user must have permission to access the file and it's parent directory.
File_GetSize('string')
Use the [File_GetSize] method. The following example inspects a file named myfile.txt from the root of the Web serving folder.
Code
File_GetSize('/myfile.txt')
Result
1024
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Recent Comments