Integration Server 10.5 | Built-In Services Reference Guide | File Folder | Summary of Elements in this Folder | pub.file:deleteFile
 
pub.file:deleteFile
WmPublic. Deletes the specified file.
Input Parameters
fileName
String The absolute path name of the file to be deleted.
Output Parameters
status
String Specifies the status of the delete operation. A value of:
*true indicates that the deletion succeeded.
*false indicates that the deletion failed.
Usage Notes
For security reasons, the pub.file:deleteFile service checks the input fileName parameter against the list of allowedDeletePaths 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.