Difference between revisions of "NXSL:FileAccess"

From NetXMS Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ Check file access on server local file system. Must be enabled by setting server configuration parameter ''NXSL.EnableFileIOFunctions''. '''Since:''' 2.2.3 == Syn...")
(No difference)

Revision as of 15:16, 6 February 2018

Check file access on server local file system. Must be enabled by setting server configuration parameter NXSL.EnableFileIOFunctions.

Since: 2.2.3


Syntax

FileAccess(name, desiredAccess);


Parameters

name File name.
desiredAccess Desired file access:
0 file exist
2 file can be read
4 file can be written
6 file can be read and written


Return Value

True if file is accessible, false otherwise.