file built-in functions

Document ID : KB000092931
Last Modified Date : 05/09/2018
Show Technical Document Details
Usage of some build in functions. 
For exemple, how to read a flag file containing 2 dates inside a file with the javascript function for files: file_readLines(<FILENAME>) but it returns an empty string. 
Also file_canRead('filePath') return False. 
The issue was because of the path used in the script, path is not present in the server installed machine, for these file functions to work, the file must reside on the same computer as the server