Delete Files Via FTP
Description
Use the step to delete the files in the remote host using FTP (Files Transfer Protocol), FTPS (File Transfer Protocol Secure), SFTP (Secure File Transfer Protocol).
Configurations
| Field Name | Description |
|---|---|
| Step Name | Name of the step. This name must be unique in a single workflow. |
| General tab: | |
| Server Settings: | |
| Protocol | Select protocol from list. Available options are: - FTP - FTPS - SFTP |
| Server name / IP Address | Specify the name of the FTP server or the IP address. |
| Server Port | Specify the TCP port number to use. Default ports for respective protocol: - For FTP:21 - For SFTP:22 - For FTPS: - Explicit Encryption: 21 - Implicit Encryption: 990. |
| Username | Specify the username of your server account to log in. |
| Password | Specify or select the password of your server account to log in. If the checkbox Accept Value as variable/static is selected, then the password field appears as a text box and accepts static or variable values. Or If the checkbox Accept Value as variable/static is not selected, then the password field appears as a dropdown in which you can select a field from the previous steps. |
| Use old algorithm for SSH Communication | Select to enforce the internal library to use older or weaker algorithms for SSH communication. Important: Selecting checkbox is required when the client or source machine with updated SSH environment is trying to communicate with a target machine which has older SSH environment. If not selected, then user will get “Algorithm negotiation failed” error. Recommendation: We recommend using modern and secure algorithms wherever possible. Using old algorithms for SSH communication can be a security risk. |
| Use Private Keyfile | Specify Yes, to use private key file otherwise specify No. Allowed Values: Yes or No Default Value: No |
| Private Key Filename | Specify the key file location. OR Click Browse to select the key file to upload. Notes: - The field is enabled when Use private key file is set to Yes - Supported key file type is: .pem and .ppk |
| Key passPhrase | Specify the passphrase of the key file if needed. Note: The field is enabled If Use public key file is Yes |
| Proxy Type | Specify the proxy types. Allowed values: HTTP or SOCKS5 |
| Proxy Host | Specify proxy server host name. |
| Proxy port | Specify proxy server port number. |
| Proxy Username | Specify username of proxy server to sign on to server. |
| Proxy Password | Specify password of proxy server to sign on to server. If the checkbox Accept Value as variable/static is selected, then the password field appears as a text box and accepts static or variable values. Or If the checkbox Accept Value as variable/static is not selected, then the password field appears as a dropdown in which you can select a field from the previous steps. |
| Test Connection | Click to check whether the connection is successfully established or not. |
| Files Tab: | |
| Remote: | |
| Remote Directory | Specify the remote directory path of folder on the FTP server from which we delete the file(s). Note: The Check Folder will not work if the Remote Directory value is set using the value from a field in the previous step. |
| Check Folder | Click Check Folder to connect to the remote server and validate whether the folder exists or not. |
| Wildcard (regular expression) | Specify the regular expression to delete specific file(s) from remote directory. For example: ".txt,.pdf,.xls,.xlsx" Note: If no expression is defined, then all files will be deleted from remote directory. |
| Success Condition: | |
| Success on | Sets the condition which defines the success of the step. Select condition from list, available options are: - All works fine - At least x files - No. of errors less than |
| Limit files | Sets the number of files associated with a condition of success to delete files. Note: Field is enabled if Success on is At least x files or No. of errors less than |
| Advanced Settings: | |
| Time Out | Specify the timeout in milliseconds for the server connection. |
| Use active FTP connection | Specify Yes or No. If you specify Yes, you are connecting to the FTP server using active mode. Note: Set your firewall to accept connections to the port that your FTP client will open. The default is Passive mode. Allowed values: Yes or No Default Value: No |