fileOpen

Opens a file

fileOpen(filePath [, mode [, charset]])

Argument Reference for the fileOpen function

filePath

Required: Yes
An absolute path of an on-disk or in-memory file on the server

mode

Required: No
Default: read
  • read
  • readBinary
  • write
  • append

charset

Required: No
Default: Character encoding identified by the file's byte order mark, if any; otherwise, JVM default file character set.
  • utf-8
  • iso-8859-1
  • windows-1252
  • us-ascii
  • shift_jis
  • iso-2022-jp
  • euc-jp
  • euc-kr
  • big5
  • euc-cn
  • utf-16


Fork me on GitHub