Deletes the selected file/folder on the client/server when the action is executed. Only one file/folder can be deleted per action. If you wish to delete multiple files/folders, use the action repeatedly.
•What to delete: Select whether you wish to delete: (i) a file, (ii) a folder (which is empty; if not empty, the folder will not be deleted ), or (iii) a folder recursively (the entire contents, including sub-folders, will be deleted).
•File/Folder path: The path to the file or folder to be deleted.
The On Error option lets you define what should be done if an error occurs:
•Abort Script: After an error occurs, all subsequent actions of the triggered event are terminated. This is the default action if an error occurs. If you wish to continue despite an error, select either the Continue or Throw option.
•Continue: Actions are not terminated. Instead, you can select what to do in either event: when there is no error (On Success), or when there is an error (On Error). For example, you might want to display a message box saying whether a page load was successful or not.
•Throw: If an error is detected, this option throws an exception that is stored in the Try/Catch action's variable. The Catch part of the Try/Catch action is used to specify what action to take if an error occurs. If no error occurs, then the next action is processed. See the section Try/Catch action for details.