Skip to main content

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 NameDescription
Step NameName of the step. This name must be unique in a single workflow.
General tab:
Server Settings:
ProtocolSelect protocol from list. Available options are:
- FTP
- FTPS
- SFTP
Server name / IP AddressSpecify the name of the FTP server or the IP address.
Server PortSpecify 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.
UsernameSpecify the username of your server account to log in.
PasswordSpecify 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 CommunicationSelect 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 KeyfileSpecify Yes, to use private key file otherwise specify No.
Allowed Values: Yes or No
Default Value: No
Private Key FilenameSpecify 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 passPhraseSpecify the passphrase of the key file if needed.
Note: The field is enabled If Use public key file is Yes
Proxy TypeSpecify the proxy types.
Allowed values: HTTP or SOCKS5
Proxy HostSpecify proxy server host name.
Proxy portSpecify proxy server port number.
Proxy UsernameSpecify username of proxy server to sign on to server.
Proxy PasswordSpecify 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 ConnectionClick to check whether the connection is successfully established or not.
Files Tab:
Remote:
Remote DirectorySpecify 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 FolderClick 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 onSets 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 filesSets 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 OutSpecify the timeout in milliseconds for the server connection.
Use active FTP connectionSpecify 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