file
Client-side
Server-side
Shared
Element category: File
The file object refers to a file loaded into memory. It can be obtained using the fileCreate or fileOpen functions and then, for example, read using fileRead or used for any other file-related operation with the file functions.
OOP Constructor
File(...) is the constructor method for the file
class (fileOpen).
OOP Methods and Variables
- file:close(...)
- File.new(...)
- File.delete(...)
- File.copy(...)
- file:flush(...)
- File.exists(...)
- file:getContents(...)
- file:getPath(...) Variable: .path
- file:getPos(...) Variable: .pos
- file:getSize(...) Variable: .size
- file:isEOF(...) Variable: .eof
- file:read(...)
- file:setPos(...) Variable: .pos
- file:rename(...)
- file:write(...)
See Also
File Functions
File Elements
- file