...
Code Block |
---|
jade.sh -settings=name_of_settings_file -profile=ftp_server_2_server |
To make the profile more resusable reusable and readable it is possible to reuse profiles in the way like this:
...
The profiles for wilma as source and 8of9 as source are defined once. They could be used as many time as needed. There is a "globals" profile as well.
...
Code Block |
---|
[ftp_server_2_server]
include=wilma_as_source,8of9_as_target
operation=copy
file_spec=^.*\.txt$
|
Code Block |
---|
[ftp_more]
include=wilma_as_source,8of9_as_target
operation=move
file_spec=^.*\.(txt|pdf|dat)$
source_folder=/outbound/daily
target_folder=/inbound/transfer
|
The "include" parameter will include the named profiles in the order they are defined. The "globals" profile is included automatically, no need to specifiy it in an include parameter.
The profiles must be defined in the same settings file.
...