size

Summary

Return the size of the given file in bytes.

Method of

File object

Syntax

int size (String NativeFolderPath);

Parameters

The size method has the following parameters:

NativeFolderPath
The full pathname to the file.

Returns

A number representing the size, in bytes, of the queried file.