steam_file_size(filename);
Argument | Description |
---|---|
filename | The name of the file to check the size of. |
Returns: Real
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.
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".