Type Library
Revision 2014.2381
Keywords io
Sample code /CoronaSDK/SampleCode/Storage/FileDemo
See also


Standard Lua library to create, write, and read files.

Applications running on a device are "sandboxed", meaning your files (e.g. application images, data, preferences) are stored in a location that no other application can access. Your files will reside in an app-specific directory for documents, resources, or temporary files. The File library functions allow you to manage these resources.

For more information, see the Reading and Writing Files guide.