Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
outlinh1. true
outlinh1. true
1printablefalse
2stylh1. none
3indent20px

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:

...