steam_file_size

Syntax:

steam_file_size(filename);


Argument Description
filename The name of the file to check the size of.


Returns: Real


Description

With this function you can check the size of a file stored on the Steam Cloud. The returned real number is the size, in bytes, of the file.


Example:

file_bytes = steam_file_size("Save.txt");

The above code stores the size of a file from the Steam Cloud in the variable "file_bytes".