...
Code Block | ||
---|---|---|
| ||
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:-
Code Block |
---|
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.
...