Importing Files with SFTP
This task will import one or more files from the local file system to a remote SFTP Server.
The SFTP Connection to delete from. See the Connecting to an SFTP Server if you require more information on how to create/manage connections.
The directory to move to on SFTP Server e.g.
/webdata. It is important that you use the 'Text or script' data type instead of 'Folder, HTTP or FTP location' for this setting. This will prevent Zynk treating it as a relative path and converting it to an absolute path on the local file system.
The file to be imported from local PC. To import multiple files, you can use the 'Use a list' option in the Zynk Object editor, or the output from a List Files task.
The name to save the file on SFTP server. It is important that you use the 'Text or script' data type instead of 'File' for this setting. This will prevent Zynk treating it as a relative path and converting it to an absolute path on the local file system.
Set to true to allow the file to be overwritten on server if it already exists.
True to have a timestamp added to the filename during the upload based on the Timestamp Format provided. Defaults to
Used to control the format of the timestamp to prepend to file names if the setting is enabled. Defaults to
You can find an example of how to use this task in the SFTP Sample Integration article.