Application Integration (On-Premises) : Integration Server Built-In Services : File Folder : pub.file:checkFileExistence
pub.file:checkFileExistence
WmPublic. Checks if a specified file exists, and if the file exists, checks whether the file name represents a file or a directory.
Input Parameters
fileName
String The absolute path name of the file to be checked.
Output Parameters
exists
String Indicates whether the specified fileName exists or not. A value of:
*true indicates that the specified fileName exists.
*false indicates that the specified fileName does not exist.
isDirectory
String Indicates whether the specified fileName is a file or a directory.
*true indicates that the specified fileName is a directory.
*false indicates that the specified fileName is a file.
Usage Notes
For security reasons, the pub.file:checkFileExistence service checks the input fileName parameter against the list of allowedReadPaths values specified in the fileAccessControl.cnf file. If the input fileName is not on the allowed list, Integration Server throws an exception. For information about configuring the fileAccessControl.cnf file, refer to File Access Control Configuration for the pub.file Services.
Copyright © 2015- 2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback