Uploading Files to FTP
This task will import a file from the local file system to a remote FTP Server.
The FTP Connection to delete from. See the Connecting to FTP Server article for more information on how to create/manage connections.
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.
The file to be uploaded from local PC.
The name to save the file on FTP 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 always overwrite file on server, otherwise file will not be copied to server.
True to have a timestamp added to the filename during the upload based on the Timestamp Format provided. Defaults to
The number of times to retry the import if an error occurs.
Temporary Import Settings
Settings to allow using a temporary file name during the import, and then rename once the import is complete. See FTP Temporary Upload Settings.
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 FTP to Sage 50 Integration article.