Skip to main content

Delete Files via FTP

Description

Delete Files via FTP removes files from a remote server using the FTP protocol. Use this process entry when your process needs to clean up files on a remote host after they have been downloaded and processed — for example, removing source data files from an FTP server to prevent duplicate processing. It supports wildcard-based file selection and configurable success conditions.

Configurations

Field NameDescription
Process Entry nameSpecify a unique name for the process entry, on the workspace area. A process entry can be placed on the canvas several times; and each instance of the entry must have a unique name.
Server:
ProtocolSelect the protocol. Available options are:

- FTP

- FTPS

- SFTP

- SSH

FTP server name / IP addressThe name of the SFTP server or the IP address
Server PortThe TCP port to use. This is usually 22
User nameThe user name to log into the SFTP server
PasswordThe password to log into the SFTP server
Connection typeSelect from the list:

- FTP

- Implicit SSL

- Authentication SSL

- Implicit SSL with crypted FTP connection

- Authentication TLS

-Implicit TLS

- Implicit TLS with crypted FTP connection

Use proxy
Proxy hostProxy server host name
Proxy portProxy server port number
Proxy usernameProxy server account user name
Proxy passwordProxy server account password
Use public keyIndicates whether or not a public keyfile is to be used.
Key fileIf "Use public keyfile" is checked then this field is enabled. The file can be browsed to using the browse button to the right of the field. The Public Key should be in the PEM file format For PuTTY-based Private Keys, use PuTTYgen to convert the file into "OpenSSH" format.
Key passphraseIf "Use public keyfile" is checked then this field is enabled. If a passphrase is required then enter it here.
Files tab:
Advanced:
TimeoutThe FTP server timeout in seconds
Use active FTP connectionEnable checkbox to use an active FTP connection.
Remote:
Copy previous results to argsIf files to send are dynamically generated by another workflow or if you want to identify files to send, check this option.Process Studio will select files list from previous result rows (not result files) and send theses files.
Remote DirectoryThe remote directory on the SFTP server from which we get the files. Use the "test folder" button to connect to the remote server and validate that the folder exists.
Wildcard (regular expression)Specify a regular expression here if you want to select multiple files.
Success Condition:
Success onSelect from list:

- All works fine

- At least we delete x files

- Nr errors less than

Limit filesPut a numerical limit on the choice above.
Socks Proxy Tab
Proxy:
HostSocks Proxy host name
PortSocks Proxy port number
UsernameUser name associated with the Socks Proxy account
PasswordPassword associated with the Socks Proxy account