NXSL:OpenFile
Jump to navigation
Jump to search
Open file on server local file system. Must be enabled by setting server configuration parameter NXSL.EnableFileIOFunctions.
Since: 2.2.3
Syntax
OpenFile(name, mode);
Parameters
name string File name. mode string Optional access mode: "r" for read, "w" for write (will overwrite existing file), "a" for append. If omitted, file will be open for reading.
Return Value
FILE object on success, NULL on failure.