file

File Methods

close()

Closes either the read or write stream

getLastModifedTime()

Retrieves the last modified time of a file

info()

Returns a struct of file information.

Different values are returned for FileInfo and GetFileInfo

readLine()

Returns the next line from the file object stream

seek(position=[integer])

Moves the buffer cursor position forward the number of characters specified by the position argument

Arguments:

setAccessMode(mode=[string])

Sets the Posix permissions on a file

Arguments:

setAttribute(attribute=[string])

Sets a file access attribute

Arguments:

setLastModified(date=[any])

Sets the last modified time of a file

Arguments:

skipBytes(position=[integer])

Moves the buffer cursor position forward the number of characters specified by the position argument

Arguments:

writeLine(data=[string])

Writes a line of data to a file

Arguments:

Examples

Last updated

Logo

Copyright & Register Trademark by Ortus Solutions, Corp & Ortus Software, LLC