Skip to end of metadata
Go to start of metadata

Modularizing Profiles: include directive

An Example Transfer Profile

A profile definition for Server-to-Server File Transfer, from an SFTP to an FTP server:

In this example all files with the file name extension .txt should be transferred from the server wilma via SFTP to the server 8of9 by FTP. the folders are not explicitely specified and therefore the home folder of the user will be selected.

Profile Fragments

To make the profile reusable and more readable it is possible to re-use profile fragments like this:

The profiles for wilma and 8of9 are defined just once. They could be used as many time as required in different transfer profiles. There is a globals profile as well.

Define Profiles using the include directive

Now we will specify the transfer profile with fragements:

  • The include parameter will include the respective profiles in the order they are defined in. In the first example wilma will be included as source and in the second example as target. The globals profile is included automatically, no need to specifiy it in an include parameter.
  • The profiles have to be defined in the same settings file.