Previous Next
Opalis Integration Pack for UNIX > Objects > Delete File

Delete File
The Delete File object is used to delete a file or group of files.
How it is used
Use the Delete File object to delete files from a folder after they have been copied to a backup folder.
Configuration
To configure the Delete File object, you need to know the path and filename of the file or files that you want to delete.
Details tab
 
File
Type the path and filename of the file that you want to delete, or insert a Published Data item. To delete all files in a folder, type the path and use wildcards in the filename portion of the path.
To delete sub-folders, check the Include sub-folders check box.
Advanced tab
 
File age (days)
Apply an age filter to determine whether the file should be deleted or not.
no age filter – delete the file without considering its age.
is less than – delete the file if it is less than n days old. Type the number of days in the field to the right of the drop-down list.
is more than – delete the file if it is more than n days old. Type the number of days in the field to the right of the drop-down list.
Note: The age filter counts from 12:00 a.m. of the day on which you perform the operation. It does not count from the current time.
Connection tab
You must configure a connection to a UNIX computer before you can use this object. To configure a connection, see Connecting to a UNIX Server for instructions.
Select the connection name that you want to use from the Server drop-down list.
Available Published Data
 
Name
Description
SSHCmdOutput
The output from the executed SSH command.
Status Message
The status message for this object.
File Name
The name of the file that was deleted.
File name with path
The full path and filename of the file that was deleted.
Origin Folder
The name of the folder that the file was deleted from.
Relative Path
The filename and path relative to the destination folder.
Failed File Name
The name of the file in the failed operation.
File Count
The number of successful operations
Failed File Count
The number of failed operations
Common Published Data

Previous Next