Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

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

Input variableDescription
from_hostHost name or IP address of the source machine.
from_scp_fileName of the file to copy, including the absolute path.
to_hostHost name or IP address of the target machine.
to_scp_filePath to the target file. This path can be absolute or relative to the logged in user's home directory.
debug_midCheck box that enables debug logging when selected.
debug_sshCheck box that enables J2SSH debug logging when selected.

Output variables

Output variableDescription
payloadThe executionResult.payload from the Activity designer parsing sources.
outputThe executionResult.output from the parsing sources.

Conditions

ConditionDescription
SuccessActivity successfully copied the file from one host to another.
FailureActivity failed to copy the file from one host to another.

Parent Topic:SSH activity pack