| Function group | Execute on client | Platform(s) |
| FileOps | NO | All |
FileOps.$writefile(cFilePath,vVariable[,iEnc=kUniTypeUTF8,bBOM=kTrue,bReplace=kTrue,bCreateParentDirectories=kFalse])
Writes the file cFilePath with the contents of variable vVariable. Returns an integer error code (zero for success)