Transfer of Other Data
- Last UpdatedJan 26, 2022
- 2 minute read
Files such as ISODRAFT files, external PLOT files and MODEL manager files are not propagated automatically by the Global daemon. However, there is a mechanism in the daemon to allow such files to be transferred to and from neighbouring locations. These files are transferred by scheduled updates and the UPDATE ALL command.
The daemon uses environment variables to define import and export directories for other data files. At a location, there is a single directory to receive data imported from other locations; and a set of export directories, one per neighbouring location, from which data can be exported to those locations.
For the current project, the import directory at a location is defined by variable %IMPORT%; the export directory for neighbouring location ABC is defined by variable %EXP_ABC%, etc. If these variables are defined at each location, then the daemon will automatically transfer files in these directories from one Satellite to another during scheduled updates (or when the UPDATE ALL command is used). Files can only be transferred between neighbouring locations, and this method cannot be used to send files to/from off-line locations.
For example, myfile has been produced at Satellite AAA and is needed at neighbouring location BBB. The user at AAA must make sure that myfile has been placed in directory %EXP_BBB%. During the next scheduled update with BBB, this file will be sent to BBB, and received in directory %IMPORT% at location BBB. A user at BBB can then use myfile. If myfile is to be sent on to other locations, it will need to be copied into the export directories at BBB for those locations.
Offline locations: The TRANSFER command only copies databases and picture files to or from the transfer directory, ready for onward manual transfer to the specified location. Transfer of other data files must be done manually.
It is possible to assign a batch script to run both before and after the Update Event occurs. This can be used to copy data into the EXPORT directories before the Update is executed, and then copy it out of the IMPORT directory once the Update Event has completed. This process will include the transfer of Other Data.
The batch scripts are assigned to an Update Event through the Create/Modify Update window, see below.

The script itself can be of any type of batch script, for instance perl, and can be as complex as required.