deleteVirtualDirectoryFile(filename: String; deleteIfReadOnly: Boolean): Integer;
The deleteVirtualDirectoryFile method of the WebSession 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 it returns a non-zero error code if the deletion fails.
You can specify whether files created in the virtual directory are deleted automatically and how this happens by setting the