FTP Replicator Notes
Additional Task for Drive / Directory changes
An additional requirement is to modify some of the files on the REMOTE system after the replication. This is due to the fact that the drive and directory that the files we’re on the LOCAL are different from the location on the REMOTE.
To achieve this, an additional task option has been added to the REMOTE R2 functionality. This allows for any program to be run. In our particular instance the Astun.Tools.StringReplacer.exe is used.
This does cause a problem with synchronisation, namely that a failure in the additional task cannot roll-back the changes at the REMOTE, as these have been successfully bedded in. It does cause a roll-back at the LOCAL, which in turn will send an appropriate error message.
This leaves the REMOTE in a state whereby whatever changes the additional program was trying to make may cause the REMOTE system to be unusable.