deleteVirtualDirectoryFile(filename: String; deleteIfReadOnly: Boolean): Integer;
The deleteVirtualDirectoryFile method of the JadeRestService class enables you to delete files that are in the directory specified by the
The deleteVirtualDirectoryFile method parameters are listed in the following table.
Parameter | Description |
---|---|
filename | Name of the file to be deleted from the virtual directory |
deleteIfReadOnly | Deletes files marked as read-only when set to true |
This method returns zero (0) if the file deletion is successful or a non-zero error code if it fails.
You can specify whether files created in the virtual directory are deleted automatically and how this happens, by setting the
This method must be called from an end point method that is being executed when called from a REST Services request.