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

Delete File
The Delete File object deletes files and folders on your FTP server.
How it is used
The Delete File object can be used to automatically delete a folder that contains files that have been downloaded from an FTP server and are no longer needed.
To configure the Delete File object, you need to know the server name, port, username, password, and security settings of the FTP server that you are connecting to. You also need to know the path of the files that will be deleted on the server.
Details tab
Server name or IP
Type the URL or IP address of the FTP server.
Type the port for the FTP server. (Default 21)
Type the username that will be used to log in to the FTP server.
Type the password that is associated with the FTP user you specified.
Re-type the password specified in the Password field.
Server Type
Select the type of server that you are connecting to. Only change this option if you are experiencing problems communication with an IBM or a DEC VMS FTP server.
Select the security mode for the FTP transfer. The security method you choose will depend on the configuration of the FTP server. Select FTP to transfer without any security. Select ALTFTP if you are having trouble transferring to your FTP server.
Key authentication
Select to use the SSH private key that you specified in the FTP Options dialog.
Passive mode (firewall friendly)
Select to use Passive mode (PASV) when connecting to the FTP server. Use this option if you are having trouble transferring files through a firewall.
Type the path where the files and folders you are deleting reside. If you are deleting files, use wildcards to create a pattern for the filenames of the files that you want to delete. The asterisk (*) will match any number of characters and the question mark (?) will match any single character. If supported by your FTP server, paths that begin with '/' are relative to the root FTP folder and paths that begin with './' are relative to the user's home folder.
Select to put the Delete File object into the mode to delete files.
Folder (must be empty)
Select to put the Delete File object into the mode to delete folders. Patterns using wildcards do not work when this option is selected. Folders that are being deleted must be empty or the Delete File object fails.
Advanced tab
Type the timeout period in seconds to wait for the server to come back online after a transfer has been interrupted. Once the time has expired, if there is no communication with the server, the Delete File object fails.
Number successfully deleted
The number of files taht were successfully deleted.
FTP Server name
The name of the FTP server.
FTP Server port
The port used to communicate with the FTP Server.
The security protocol that was selected.
For each file deleted:
The name of the file being deleted.
Destination path
The path of the folder containing the file
The result of the delete as either “success” or “failure”.

Previous Next