Renaming Files with FTP
This task will rename a file on a remote FTP Server
Settings
FTP Connection
Required
The FTP Connection to delete from. See the Connecting to FTP Server article for more information on how to create/manage connections.
Directory
Required
Initial Directory to move to on FTP 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. index.html
. 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
Optional
The new name for the file e.g. old_index.html
. 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 output file name.
Timestamp Format
Required
The format to use for the timestamp e.g. yyyyMMddHHmmss