Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Minor corrections to text

...

  • Settings file configuration
    Parameters such as host, protocol, user, password and dir (directory) are usually grouped separately in the settings file configuration depending on their use as source or target. This usually has no functional meaning (the files are processed from top to bottom) and is partly simply for convenience (grouping parameters together makes them easier to find) and partly to allow their reuse in the form of so-called profile fragments if required.
  • XML configuration
    • Parameters are divided up between hierarchical into hierarchical branches - the Profiles and Fragments branches being relevant here.
      (Note that these two the expressions Profiles and Fragments are here defined differently to elements with the same names in the settings *.ini file configuration.)
      • authentication Authentication and connection parameters (Account & Password and Hostname & Port respectively) and the protocol (defined through the use of FTP) are part of the Fragments branch of the configuration.
      • the The operation (Copy) and the source and target file paths (FilePath and LocalTarget respectively) are specified in the Profiles branch.
      • the The CopySourceFragmentRef element refers to the FTPFragment specified in the Fragments branch
    • The division between Fragments and Profiles branches allows the reuse of elements whilst working within the strict hierarchical structure of XML.
      • The use of a reference in the Profiles branch (in the example, using the CopySourceFragmentRef element) to specify the authentication and connection parameters in the Profiles branch allows any number of Profiles elements to be defined and specified as required.

...