Software AG Products 10.7 | Integrating On-Premises and Cloud Applications | Integration Server Built-In Services | 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.