Get file size

The function gets the size of the file. The file size can be over 2 GB.

Options

path - file path

Result

File size in bytes.
If the file does not exist: -1.

Author: admin