Skip to end of metadata
Go to start of metadata

Modularizing Profiles with include directive

  • YADE's feature of importing profiles can be used to create generic parameter groups called "fragments".
  • YADE's fragments are small sets of parameters which by themselves can't be used for file transfer, but can be combined with other fragments to create a complete profile.
  • A transfer profile is a collection of parameters, e.g. of parameters such as source_host, target_host, file_spec etc. There is a terrific number of parameters in YADE that can combined with each other depending upon protocol etc.

Example 1: Profile without fragments: copy files from local host to target host using SFTP

To execute a transfer with this profile from the command line type:

Example 2: Profile with fragments: copy files from source host to localhost host using SFTP

To execute a transfer with this profile from the command line type: