Tags · Functions · Objects
Lucee Function Reference
Choose a function:

Function FILEREAD

Reads an on-disk or in-memory text file or a file object created with the FileOpen function.

Example

fileread(any file,[any charsetOrBufferSize]):any

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
file any  Yes file path or object  
charsetOrBufferSize any  No the charset used or the size of the buffer.