Secure Copy activity

The Secure Copy activity copies a file from one host to another, without storing the copied file on the MID Server.

This activity replaces an SSH activity by the same name available in releases prior to Geneva. If you have a workflow created in a previous version that uses the deprecated activity, your workflow will continue to work normally after upgrading to Geneva. However, all new workflows must use the custom version of this activity. This activity was built with the SSH activity designer template, which gives workflow administrators the ability to store input and output variables in the databus.

Input variables

Table 1. Secure Copy input variables
Input variable Description
from_host Host name or IP address of the source machine.
from_scp_file Name of the file to copy, including the absolute path.
to_host Host name or IP address of the target machine.
to_scp_file Path to the target file. This path can be absolute or relative to the logged in user's home directory.
debug_mid Check box that enables debug logging when selected.
debug_ssh Check box that enables J2SSH debug logging when selected.

Output variables

Table 2. Secure Copy output variables
Output variable Description
payload The executionResult.payload from the Activity designer parsing sources.
output The executionResult.output from the parsing sources.


Table 3. Secure Copy conditions
Condition Description
Success Activity successfully copied the file from one host to another.
Failure Activity failed to copy the file from one host to another.