FTP Jobs: If Failure / If Success Command Settings
This topic describes how to use the FTP If Failure / If Success commands. If Failure commands allow you to insert one or more commands when the preceding command fails. If Successful commands allow you to insert one or more commands in a Then box when the preceding command succeeds. Both commands also include an Else box where you can also insert one or more commands.
You place commands into these boxes by dragging and dropping from the Commands list just as you would when adding commands in the rest of the command sequence. You can also drag and drop to move existing commands between these boxes and the rest of the command sequence.
The If Failure command allows you to define commands to run if the preceding command:
- Fails using the Then box.
- Succeeds using the Else box.
The If Successful command allows you to define commands to run if the preceding command:
- Succeeds using the Then box.
- Fails using the Else box.
The If Failure and If Successful commands function similarly, except they are presented in the opposite contexts.
See also: