Delete Command Settings
The Delete command deletes one or more files or directories.
To delete one or more files or directories:
- Select a connection under Path.
- Specify an absolute or relative path for the file or directory in the Path field.
This field allows you to use * and ? wildcards. The * wildcard stands for any number of characters and the ? wildcard stands for one character.
- If you do not want the Job to abort if this command fails, uncheck the Abort job on command failure box.
- If you want to delete children directories and their files when they meet the wildcard criteria in the Path field, check the Delete files recursively box.
- If the Delete files recursively box is checked, you can optionally chose to delete empty directories with the Delete empty directories box.
- Optionally add a description of the command under Description.
-
The Description field acts as comment in the command sequence, and is not written to the Job report. To write a message to the Job report use an Echo command .
The only two selectable connections in the drop-down list are the ones selected in the From and To fields at the top of the RA FTP Agent Job definition page, above the command sequence.
You can browse to a file or directory using the browse icon. When you click it, a pop-up dialog opens that allows you to browse to a file or directory on the host. For more information, see Browsing to Directories and Files.
To delete all files: | Enter: |
---|---|
With a .txt extension |
*.txt |
Named report with any extension |
report.* |
Named quarter followed by a single character |
quarter? |
That are exactly four character long |
???? |