steam_file_size

Find the size of the given file from the Steam Cloud.

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".


Back: Steam API
Next: steam_file_persisted
© Copyright YoYo Games Ltd. 2018 All Rights Reserved