The Copy File activity copies a file from an SFTP server (source host) to another SFTP
server (target host).
Input variables
Table 1. Copy File input variables
Variable
Description
sourceHost
Name or IP address of the server containing the files you want to
transfer.
sourcePort
Port number to use to communicate with the source server. The default port
number is 22.
sourceFilePath
Full path to the file to copy from the source host.
targetHost
Name or IP address of the server to which you want to move the files.
targetPort
Port number to use to communicate with the target server. The default port
number is 22.
targetFilePath
Full path to the copied file on the target host.
tempFileSuffix
Temporary suffix to use when moving a file. If this field contains a value,
the activity deletes the duplicate target file, if it exists, and then copies the
source file to a temporary file using targetFilePath +
tempFileSuffix as the name. Upon completion, the activity renames the
file to the actual target file name. If this field is blank, the activity copies
the source file directly to the target file and overwrites it, if it already
exists.
We use cookies on this site to improve your browsing experience, analyze individualized usage and website traffic, tailor content to your preferences, and make your interactions with our website more meaningful. To learn more about the cookies we use and how you can change your preferences, please read our Cookie Policy and visit our Cookie Preference Manager. By clicking “Accept and Proceed,” closing this banner or continuing to browse this site, you consent to the use of cookies.