FTP Replicator File Lists to Check
There is a file holding the things that are to be replicated for each side. The definition comes from the main configuration. These are held in CSV format to make them easier to update. These contain entries as follows:-
<type>=<entry>[|<destination-dir>]
FILE=C:\Astun\MyData.dat DIR=C:\iShareMaps\Data TREE=C:\iShareMaps Studio PGDATABASE=PGLocal.txt
Type | Description |
---|---|
FILE | A specified file. |
DIR | Directory. This is to include all the files in the specified directory. |
TREE | Directory Tree. This is to include all the files in the specified directory and all the files in the sub directories. |
PGDATABASE | Specifies a configuration file detailing the database (note that the file should be found in the configuration directory with other configuration files), see FTP Replicator PGDATABASE Configuration for more details on this files contents. |
By default files are replicated to the same drive and directory that they came from, but you can change this by adding a new destination after a the pipe symbol ‘|’. For example:-
DIR=D:\iShareData Studio|E:\Astun\iShareDataStudio FILE=F:\Mapserver\shared\symbols\ishare.sym|D:\Mapserver\shared\symbols
This would take all the files in the directory “D:\iShareData Studio” and place them in the directory “E:\Astun\iShareDataStudio” at the destination.
Wildcards are not supported.