Help files

Synchronize FTP Directory Action

Description:

Synchronizes the files and subdirectories of a given local folder with a given remote FTP directory. This Action can synchronize a local folder to the contents of a remote FTP directory (download updates), or it can synchronize a remote FTP directory to the contents of a local folder (upload updates).

synchronizeftp1.png
synchronizeftp2.png
Properties:

FTP Connection:

Enter the Variable containing the previously opened FTP Connection you wish to work in.

Synchronization Direction:

Choose the direction of synchronization, i.e., whether the local folder will be synchronized to the remote directory (DOWNLOAD) or the remote directory will be synchronized to the local folder (UPLOAD).

Files to Synchronize:

Choose whether you want to synchronize all files, or you want to use a file filter to include or exclude a specific set of files.

File Filter:

Enter the File-name pattern that controls which files will be included in, or excluded from the synchronization (depending on the setting of the 'Files to Synchronize' property). This allows wild cards, for example "*.txt" or "document?.doc" (without the quotes). If you want to allow for multiple file filters, separate your choices with a comma, for example, "*.txt,*.exe".

Local Folder:

Enter the name of the Variable containing the local folder to be synchronized. Depending on the synchronization 'Direction' property, this will be either the source or the target directory.

Remote FTP Directory:

Enter the name (or a variable) of the remote FTP directory to be synchronized. Depending on the synchronization 'Direction' property this will be either the source or the target directory.

Delete if source is absent:

Choose whether you want a file that exists only in the target directory and not in the source directory to be deleted from the target directory during synchronization.

Include Subdirectories:

Choose whether you want the subdirectories of the specified directories to be included in the synchronization process.

Time on FTP Server is:

Enter here the time difference between the FTP server and the local computer. Very often FTP servers are located in different time zones to their clients. The time difference should be used to ensure correct date matching, so that the Action will be able to detect which files are out of date and should be synchronized.

Store Added Files into:

Enter the name to be the variable that will hold the list of files that initially existed only in the source directory and after the synchronization were added to the target directory.

If the target directory is the local folder (download direction selected), this variable will hold a list of Files, otherwise, if the target directory is the remote FTP directory (upload direction selected), this variable will hold a list of FTP Files.

Store Modified Files into:

Enter the name to be the variable that will hold the list of files that initially existed in both the source and target directory and were transferred from source to target during synchronization.

If the target directory is the local folder (download direction selected), this variable will hold a list of Files, otherwise, if the target directory is the remote FTP directory (upload direction selected), this variable will hold a list of FTP Files.

Store Deleted Files into:

Enter the name to be the variable that will hold the list of files that initially existed only in the target directory and were deleted during synchronization. Note that files that appear only in the target directory are deleted only if the 'Delete if source file is absent' property is checked.

If the target directory is the local folder (download direction selected), this variable will hold a list of Files, otherwise, if the target directory is the remote FTP directory (upload direction selected), this variable will hold a list of FTP Files.