You can configure an FTPS endpoint to send one or more FTP commands automatically after the connection to the FTPS server is established.

When Execute commands after connection is initialized is enabled, Automate MFT sends the specified commands to the FTPS server immediately after a successful connection is established.

  • Each command is sent as a separate FTP command
  • Commands are sent in the order listed
  • Commands are executed once per FTPS connection

If the connection must be re‑established, the commands are sent again after the new connection is created.

Parallel connections

If the FTPS endpoint is configured to use multiple parallel connections, Automate MFT establishes each connection independently and sends the configured commands once for each connection

Command format and server support

Automate MFT sends the commands exactly as entered. The product does not validate or interpret FTPS commands. Ensure that the commands you configure are supported by your FTPS server.

The following example shows commands that certain FTPS servers may support:
SITE FILETYPE=JES
SITE LOCALE=EBCDIC
Each line is sent to the server as a separate command after the FTPS connection is established.

Relationship to per‑file FTPS commands

Endpoint‑level commands are executed once per connection.

When using an FTPS endpoint in a task, you can configure commands to run:

  • Before each file transfer
  • After each file transfer

These per‑file commands are configured in the source or destination step and are executed for every file transferred, not just once per connection.