File functions
RDL file functions provide methods to read and write files residing on the server.
Opens a file and returns a file identifier. If the file exists, the contents of the file are replaced. | |
Opens a file and returns a file identifier. If the file exists, data written to the file is appended to the end of the file. | |
Opens a file and returns a file identifier. The file may not be changed using the write functions. | |
Closes the file. | |
Renames an existing file name from oldFileName to newFileName. The file must not be open at the time. | |
Checks to see if a file exists. True is returned if the file exists, false otherwise. | |
Returns the files in the directory as an array of strings. If the directory is an empty string, the directory for the current MVCA server is listed. Passing false for the directory generates an error. | |
Reads a line from the file. | |
Writes a line of text to the file specified by fileid. | |
Reads a line from the file, splitting the line into tokens as delimited by standard CSV rules. | |
Writes a line of text to the file specified by fileid, combining the elements in valueArray into comma-separated values. | |
Returns a text description of the error generated by the most recent call to a file function, or false if the function call was successful. | |
Returns the date in seconds since January 1, 1970. | |
Returns the size of the file in bytes. | |
Returns the directory path to a CCS runtime directory. | |
Returns the directory path to an MVCA runtime directory. | |
Reads a file into an array of strings. | |
Appends a message to a custom log file. |