The CS Interactive Module “CSSync” is a file monitor that watches a selected directory for new and updated files. When found, these files are copied to a specified directory. This directory may be a CSFtp Drop Folder that will address and transfer the files via FTP to other CSFtp sites(see CSFtp Configurations), an Ad Folder to transfer files to a specific FTP site, or directly to a directory on your LAN or across your WAN to other sites.

Files for transfer may be selected using an extension or a file mask. For example if you wished to transfer all MP3 files, we may add MP3 to the extension list. If we only wanted MP3 files with file names starting with the letter C,we would add C*.MP3 to our file list.

Please note: Some operating systems handle wildcards differently, so you may need to enter C???????.MP3 instead of C*.MP3.

While each instance of CSSync will watch a single directory, you may run several instances of CSSync using a command line argument to select which configuration the shortcut should use.

CSSync may be used as a standalone application to monitor a directory and copy updated files to another location. However, when used in conjunction with our automated FTP transfer module CSFtp and/or our file router CSRouter, we have a very dynamic file routing process that can be monitored from your desktop using our CS Interactive monitor CSMonitor.


The configuration for CSSync is a matter of “pointing” CSSync to the proper directories and adding our watch list. The following details this process.

Drop Down List
Select a configuration file from the drop down list or leave blank to create a new configuration file. CSSYNC001-CSSYNC999. Use this name in the command line of the shortcut to start CSSync with a specific configuration setting.

Run From
Enter the path to where CS Interactive is installed.

Working Directory
Enter the path to the working directory where CSYNC will save the log file available for viewing remotely using CSMonitor.

Watch Directory
Enter the full path to the directory containing the files we wish to monitor.

Update Every xx Minutes
Select the delay between file scans. CSSync will wait this amount of time between scans and will stop the clock during the scan

Copy To
Enter the full path to the directory where the new and updated files are to be copied.

File Extension Mask List
Use this area to select files by their name, extension or a file “mask”.
A “mask” is a combination of letters, numbers and wildcard characters that are used to select individual files. The * character replaces all characters while the "?" character replaces a single character. For example:

C*.DAF would copy C101.DAF as well as CMYFILE.DAF, *.MP3 would copy all MP3 files, C????.DAF would only copy the C101.DAF file
Wildcards may also be used in the extension. For example: MFILE.* would select all files with the filename MYFILE regardless of the extension so that MYFILE.DOC, MYFILE.XLS, MYFILE.PPT would all be selected.

Copy To List
Use this area to select one or more locations where the files are to be copied. If using CSFtp to transfer files we would select the CSFtp Drop down folder(s). However, if we are copying files across a WAN we may wish to select multiple locations on the WAN. Please note: To minimize the impact on the WAN each file is copied individually to the specified locations

File Selections

On occasion we may wish to manually select one or more files that may or may not be in our selection criteria. This can be done by Selecting File Selection from the tools menu.

When the File Selection window appears, out watch and copy to directories will be shown. We may enter a new File Path and/or copy to directory for this selection. If desired, we may enter an extension in the extension area and simply type the necessary file names. For example, one we have selected the File Path where our DAF files are located and added DAF as the extension we may simply enter the file names to add them to the list. IE. C101, D878, C761-01, etc Commands

Remove the selected files from the list.

Remove the selected files from the list and save them in a text file for later copy.

Import a list of files to copy from a text file. These could be the files we earlier removed and saved, an
import list created manually or using a verification file created using CSMonitor (see File Verification).

Copy the selected files from the File Path directory to the Copy To directory.

Close the File Selections window.

File Verifications

Anyone who has tried to keep one or more directories up to date knows that on occasion the directories get out of sync. There can be a number of causes, hardware failures, human error, system changes, etc. To monitor and correct this problem, CSSync has a file verification process that can be used to snapshot the watch location and compare it to the final copy to location. The following describes this process;

Step 1.
From the tools Menu select Directory List. This will create a file called
CSSYNC.DIR the working directory.
Step 2.
Use CSFTP, E-MAIL, or copy this file across the WAN to the end location.
Step 3.
At the remote site, run CSMonitor and select File Verification from the Tools Menu.
Step 4.
When the Verification Window appears, enter the path where the updated files should be located and click Start Verification.
Step 5.
When completed, you may print the list to manually re-send or if there are a large number of missing, dated or size errors, use the export verification file to create an import file for CSSYNC.
Step 6.
Send this file back to the original site and use the import feature in the CSSYNC File Selection process.

CSMonitor File Verification Window

Did this answer your question?