Table of Contents | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
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:
...