Search Results for

    Show / Hide Table of Contents

    Renaming File with SFTP

    This task will rename a file on a remote FTP Server.

    Settings

    Connection

    Required
    The SFTP Connection to delete from. See the Connecting to an SFTP Server if you require more information on how to create/manage connections.

    Directory

    Required
    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.

    Filename

    Required
    The name of file to be renamed e.g. web_orders.xml. 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.

    Output File

    Required
    The new name the file should be renamed to. 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.

    Prepend Timestamp

    Required
    Set to true to add a timestamp to the start of the output file name.

    Timestamp Format

    Required
    The format to use for the timestamp e.g. yyyy-MM-dd\_HH-mm-ss

    Zynk Settings

    See Common Task Settings

    Examples

    You can find an example of how to use this task in the SFTP Sample Integration article.

    In This Article
    Zynk Documentation © 2021, Zynk Software Limited. Zynk is a registered trademark of Zynk Software Limited