Overview

CSRouter, as the name implies, is the CS Interactive file routing module. This program will monitor various locations looking for files and when found, move them to another location. If required, the file name and extension may be changed at the same time. For example: Maestro users may wish to change the DAF audio file extension to DFF for the import features of Maestro or to change a log file name for a remote location. ie. 032104S7.LOG may need to become 032104SB.LOG.

When used on its own, CSRouter will automatically move files as per the configuration settings. However, when used in conjunction with CS Interactive’s CSFtp and CSSync modules, we have a very powerful automated file routing system.

File Transfer Samples

Ext /Mask  
*.DOC
Change To
DOC
Example
All DOC files are moved to the new directory as
DOC files.
MYFILE.DOC moved as MYFILE.DOC
YOURFILE.DOC moved as YOURFILE.DOC

Ext /Mask  
     A???????.WAV
Change To
     
MP3
Example
     
All wav files with 8 character file names starting
     with the letter A will be moved to the new directory
     with the extension MP3.
     A1234567.WAV moved as A1234567.MP3

Ext /Mask  
     MYFILE.*
Change To

     *
Example
     
All files named MYFILE will be moved to the new
     directory and will keep the extension.
     MYFILE.DOC moved as MYFILE.DOC
     MYFILE.XLS moved as MYFILE.XLS

Ext /Mask  
     MF*.*
Change To

     *
Example
     
All files starting with the letters MF are moved to the
     new directory keeping their name and extension.
     MFILE.001 moved as MFILE.001
     MFILE.002 moved as MFILE.002
     MFAUDIO.WAV moved as MFAUDIO.WAV

Ext /Mask  
      ??????S3.LOG
Change To
     
%%%%%%%A.LOG
Example
     
All files with S3 as the 7th and 8th character will be
     moved to the new directory as SA files.
     061304S3.LOG moved as 061304SA.LOG

Configuration

Installed
Enter the path to the directory where CS Interactive is installed.

Working Temp
Enter the path to the temporary working directory where CSRouter will save the log files. This should be the same location specified to CSMonitor to monitor the system
from your desktop.

Move From Ext/Mask
Enter the file mask of the files to be moved. Use the browse command or enter the
full path to where these files are located. Use the Ext/Mask area to select which files
to move. Wildcards are permitted but you should check your operating system to ensure files are transferred properly.

Move To Change To
Use the Browse command or enter the path to the directory where the files should be
transferred. If required, you may enter a new extension or alter the filename as
required. When transferring files with the different extensions, use the * character to
keep the extension of the original file or enter the extension as required.

You may also alter the file name using the % character as a place holder and including any new characters. For example:

If the original file 091504S1.LOG should be transferred as 091504S9.LOG we would
use %%%%%%%9 or %%%%%%%9.LOG as the Change To name.

Add to List
Click this command to add the selection to the list.

Remove from List
Select an entry in the list and click Remove from list to stop using the selected item.

Clear/New
Click Clear/New to clear the selected information and start over.

Did this answer your question?