Versions Compared

Key

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

...

All examples are used for JADE Configuration XSD schema http://www.sos-berlin.com/schema/jade/JADE_configuration_v1.0.xsd

Getting Started

Code Block
languagexml
titleXML Configuration File: getting_started.xml
collapsetrue
<?xml version="1.0" encoding="utf-8"?>
<Configurations xsi:noNamespaceSchemaLocation="http://www.sos-berlin.com/schema/jade/JADE_configuration_v1.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Fragments>
    <ProtocolFragments>
      <FTPFragment name="ftp_server_2_local">
        <BasicConnection>
          <Hostname><![CDATA[test.sos-berlin.com]]></Hostname>
          <Port>21</Port>
        </BasicConnection>
        <BasicAuthentication>
          <Account><![CDATA[demo]]></Account>
          <Password><![CDATA[demo]]></Password>
        </BasicAuthentication>
        <PassiveMode>true</PassiveMode>
      </FTPFragment>
      <SFTPFragment name="sftp_server_2_local_pass">
        <BasicConnection>
          <Hostname><![CDATA[test.sos-berlin.com]]></Hostname>
          <Port>22</Port>
        </BasicConnection>
        <SSHAuthentication>
          <Account><![CDATA[demo]]></Account>
          <AuthenticationMethodPassword>
            <Password><![CDATA[demo]]></Password>
          </AuthenticationMethodPassword>
        </SSHAuthentication>
      </SFTPFragment>
    </ProtocolFragments>
  </Fragments>
  <Profiles>
    <Profile profile_id="ftp_server_2_local">
      <Operation>
        <Copy>
          <CopySource>
            <CopySourceFragmentRef>
              <FTPFragmentRef ref="ftp_server_2_local" />
            </CopySourceFragmentRef>
            <SourceFileOptions>
              <Selection>
                <FileSpecSelection>
                  <FileSpec><![CDATA[.*]]></FileSpec>
                  <Directory><![CDATA[/]]></Directory>
                </FileSpecSelection>
              </Selection>
            </SourceFileOptions>
          </CopySource>
          <CopyTarget>
            <CopyTargetFragmentRef>
              <LocalTarget />
            </CopyTargetFragmentRef>
            <Directory><![CDATA[${USERPROFILE}\jade_demo\a]]></Directory>
            <TargetFileOptions>
              <DisableOverwriteFiles>false</DisableOverwriteFiles>
            </TargetFileOptions>
          </CopyTarget>
          <TransferOptions>
            <Transactional>true</Transactional>
          </TransferOptions>
        </Copy>
      </Operation>
    </Profile>
    <Profile profile_id="sftp_server_2_local_pass">
      <Operation>
        <Copy>
          <CopySource>
            <CopySourceFragmentRef>
              <SFTPFragmentRef ref="sftp_server_2_local_pass" />
            </CopySourceFragmentRef>
            <SourceFileOptions>
              <Selection>
                <FileSpecSelection>
                  <FileSpec><![CDATA[.*]]></FileSpec>
                  <Directory><![CDATA[/]]></Directory>
                </FileSpecSelection>
              </Selection>
            </SourceFileOptions>
          </CopySource>
          <CopyTarget>
            <CopyTargetFragmentRef>
              <LocalTarget />
            </CopyTargetFragmentRef>
            <Directory><![CDATA[${USERPROFILE}\jade_demo\a]]></Directory>
            <TargetFileOptions>
              <DisableOverwriteFiles>true</DisableOverwriteFiles>
            </TargetFileOptions>
          </CopyTarget>
          <TransferOptions>
            <Transactional>true</Transactional>
          </TransferOptions>
        </Copy>
      </Operation>
    </Profile>
  </Profiles>
</Configurations>
Code Block
languagexml
titleFlat File Configuration: getting_started.ini
collapsetrue
<?xml version="1.0" encoding="utf-8"?>
<Configurations xsi:noNamespaceSchemaLocation="http://www.sos-berlin.com/schema/jade/JADE_configuration_v1.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Fragments>
    <ProtocolFragments>
[protocol_fragment_ftp@ftp_server_2_local]
protocol                            = ftp
host                        <SFTPFragment name="sftp_test">
        <BasicConnection>
          <Hostname><![CDATA[= test.sos-berlin.com]]></Hostname>
port          <Port><![CDATA[22]]></Port>
         </BasicConnection>
        <SSHAuthentication>
     = 21
user    <Account><![CDATA[demo]]></Account>
          <AuthenticationMethodPassword>
            <Password><![CDATA[demo]]></Password>
      = demo
password   </AuthenticationMethodPassword>
        </SSHAuthentication>
      </SFTPFragment>
    </ProtocolFragments>
  </Fragments>
  <Profiles>
    <Profile profile_id="sftp_server_2_local_pass">
= demo
passive_mode       <Operation>
        <Copy>
          <CopySource>
= true
[protocol_fragment_sftp@sftp_server_2_local_pass]
protocol            <CopySourceFragmentRef>
               <SFTPFragmentRef ref="sftp_test" />
 sftp
host            </CopySourceFragmentRef>
            <SourceFileOptions>
        = test.sos-berlin.com
port     <Selection>
                <FileSpecSelection>
           = 22
user         <FileSpec><![CDATA[.*]]></FileSpec>
                        <Directory><![CDATA[/]]></Directory>
= demo
ssh_auth_method                     = </FileSpecSelection>password
password              </Selection>
               </SourceFileOptions>
= demo
[profile@ftp_server_2_local]
operation             </CopySource>
           <CopyTarget>
   = copy
source_include        <CopyTargetFragmentRef>
              <LocalTarget />
= protocol_fragment_ftp@ftp_server_2_local
file_spec             </CopyTargetFragmentRef>
            <Directory><![CDATA[${USERPROFILE}\jade_demo\a]]></Directory>
  = .*
source_dir                          = /
target_protocol                   </CopyTarget>
  = local
target_host            </Copy>
        </Operation>
    </Profile>
 = </Profiles>
</Configurations>

Simple File Selection

Code Block
languagexml
collapsetrue
<?xml version="1.0" encoding="utf-8"?>
<Configurations xsi:noNamespaceSchemaLocation="http://www.sos-berlin.com/schema/jade/JADE_configuration_v1.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Fragments>
    <ProtocolFragments>
localhost
target_dir                <SFTPFragment name="sftp_test">
        <BasicConnection>
 = ${USERPROFILE}\jade_demo\a
overwrite_files          <Hostname><![CDATA[test.sos-berlin.com]]></Hostname>
          <Port><![CDATA[22]]></Port>
   = true
transactional      </BasicConnection>
        <SSHAuthentication>
         = <Account><![CDATA[demo]]></Account>
 true
[profile@sftp_server_2_local_pass]
operation         <AuthenticationMethodPassword>
            <Password><![CDATA[demo]]></Password>
      = copy
source_include   </AuthenticationMethodPassword>
        </SSHAuthentication>
      </SFTPFragment>
    </ProtocolFragments>
  </Fragments>
  <Profiles>
    <Profile profile_id="sftp= protocol_fragment_sftp@sftp_server_2_local_select_recursive">
pass
file_spec          <Operation>
        <Copy>
         = <CopySource>.*
source_dir            <CopySourceFragmentRef>
              <SFTPFragmentRef ref="sftp_test" />
target_protocol               </CopySourceFragmentRef>
      = local
target_host     <SourceFileOptions>
              <Selection>
      = localhost
target_dir         <FileSpecSelection>
                  <FileSpec><![CDATA[^test_.\.txt$]]></FileSpec>
= ${USERPROFILE}\jade_demo\a
overwrite_files                      <Directory><![CDATA[/rec]]></Directory>
= false
transactional                  <Recursive><![CDATA[true]]></Recursive>
     = true

Simple File Selection

Code Block
languagexml
titleXML Configuration: simple_file_selection.xml
collapsetrue
<?xml version="1.0"         </FileSpecSelection>
              </Selection>encoding="utf-8"?>
<Configurations xsi:noNamespaceSchemaLocation="http://www.sos-berlin.com/schema/jade/JADE_configuration_v1.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Fragments>
    <ProtocolFragments>
            </SourceFileOptions><SFTPFragment name="sftp_test">
          </CopySource><BasicConnection>
          <CopyTarget><Hostname><![CDATA[test.sos-berlin.com]]></Hostname>
          <Port><![CDATA[22]]></Port>
  <CopyTargetFragmentRef>
      </BasicConnection>
        <LocalTarget /><SSHAuthentication>
            </CopyTargetFragmentRef><Account><![CDATA[demo]]></Account>
          <AuthenticationMethodPassword>
            <Directory><<Password><![CDATA[${USERPROFILE}\jade_demo\a]]></Directory>Password>
          </CopyTarget>AuthenticationMethodPassword>
        </Copy>SSHAuthentication>
      </Operation>SFTPFragment>
    </Profile>ProtocolFragments>
  </Profiles>
</Configurations>

 

Code Block
languagexml
collapsetrue
<?xml version="1.0" encoding="utf-8"?>
<Configurations xsi:noNamespaceSchemaLocation="http://www.sos-berlin.com/schema/jade/JADE_configuration_v1.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Fragments>Fragments>
  <Profiles>
    <Profile profile_id="sftp_server_2_local_select_recursive">
      <Operation>
    <ProtocolFragments>
    <Copy>
  <SFTPFragment name="sftp_test">
        <BasicConnection><CopySource>
          <Hostname><![CDATA[test.sos-berlin.com]]></Hostname>
   <CopySourceFragmentRef>
       <Port><![CDATA[22]]></Port>
        </BasicConnection>
<SFTPFragmentRef ref="sftp_test" />
         <SSHAuthentication>   </CopySourceFragmentRef>
          <Account><![CDATA[demo]]></Account>
  <SourceFileOptions>
        <AuthenticationMethodPassword>
      <Selection>
      <Password><![CDATA[demo]]></Password>
          </AuthenticationMethodPassword><FileSpecSelection>
        </SSHAuthentication>
      </SFTPFragment>
    </ProtocolFragments><FileSpec><![CDATA[^test_.\.txt$]]></FileSpec>
  </Fragments>
  <Profiles>
    <Profile profile_id="sftp_server_2_local_zero_byte">
      <Operation>
   <Directory><![CDATA[/rec]]></Directory>
     <Copy>
          <CopySource>
   <Recursive><![CDATA[true]]></Recursive>
              <CopySourceFragmentRef>
  </FileSpecSelection>
            <SFTPFragmentRef ref="sftp_test" </>Selection>
            </CopySourceFragmentRef>SourceFileOptions>
          </CopySource>
  <SourceFileOptions>
         <CopyTarget>
     <Selection>
       <CopyTargetFragmentRef>
         <FileSpecSelection>
     <LocalTarget />
            <FileSpec><![CDATA[^test_[0-9]\.txt$]]></FileSpec>
      </CopyTargetFragmentRef>
            <Directory><![CDATA[/${USERPROFILE}\jade_demo\a]]></Directory>
                </FileSpecSelection>CopyTarget>
        </Copy>
      </Selection>Operation>
          </Profile>
  </Profiles>
</Configurations>
Code Block
languagexml
titleFlat File Configuration: simple_file_selection.ini
collapsetrue
[protocol_fragment_sftp@sftp_server_2_local_select_recursive]
protocol      <Directives>
                <TransferZeroByteFiles><![CDATA[relaxed]]></TransferZeroByteFiles>
      = sftp
host       </Directives>
            </SourceFileOptions>
          </CopySource>
   = test.sos-berlin.com
port      <CopyTarget>
            <CopyTargetFragmentRef>
              <LocalTarget= />22
user             </CopyTargetFragmentRef>
              <Directory><![CDATA[${USERPROFILE}\jade_demo\a]]></Directory>
     = demo
ssh_auth_method                  </CopyTarget>
   = password
password             </Copy>
          </Operation>
    </Profile>
 = </Profiles>
</Configurations>

More Advanced File Selection

Code Block
languagexml
collapsetrue
 <?xml version="1.0" encoding="utf-8"?>
<Configurations xsi:noNamespaceSchemaLocation="http://www.sos-berlin.com/schema/jade/JADE_configuration_v1.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Fragments>
    <ProtocolFragments>
demo
[protocol_fragment_sftp@sftp_server_2_local_zero_byte]
protocol                           <SFTPFragment name=" sftp_test">
host        <BasicConnection>
             <Hostname><![CDATA[           = test.sos-berlin.com]]></Hostname>
port          <Port><![CDATA[22]]></Port>
               </BasicConnection>
       = <SSHAuthentication>22
user           <Account><![CDATA[demo]]></Account>
          <AuthenticationMethodPassword>
           = <Password><![CDATA[demo]]></Password>

ssh_auth_method            </AuthenticationMethodPassword>
         = </SSHAuthentication>
password
password         </SFTPFragment>
       </ProtocolFragments>
  </Fragments>
  <Profiles>
    <Profile profile_id="sftp    = demo
[profile@sftp_server_2_local_poll_minfiles">
select_recursive]
operation      <Operation>
        <Copy>
          <CopySource>
   = copy
source_include        <CopySourceFragmentRef>
              <SFTPFragmentRef ref="sftp_test" />
= protocol_fragment_sftp@sftp_server_2_local_select_recursive
file_spec                </CopySourceFragmentRef>
            <SourceFileOptions>
= ^test_.\.txt$
source_dir                 <Selection>
         = /rec
recursive          <FileSpecSelection>
                  <FileSpec><![CDATA[^test_[0-9]\.txt$]]></FileSpec>
= true
target_protocol                  <Directory><![CDATA[/]]></Directory>
   = local
target_host            </FileSpecSelection>
             = </Selection>
localhost
target_dir                 <Polling>
         = ${USERPROFILE}\jade_demo\a
overwrite_files      <PollInterval><![CDATA[20]]></PollInterval>
               = <PollTimeout><![CDATA[1]]></PollTimeout>
false
[profile@sftp_server_2_local_zero_byte]
operation                <MinFiles><![CDATA[3]]></MinFiles>
             = </Polling>
copy
source_include            </SourceFileOptions>
          </CopySource>
  = protocol_fragment_sftp@sftp_server_2_local_zero_byte
file_spec             <CopyTarget>
              <CopyTargetFragmentRef>
= ^test_[0-9]\.txt$
source_dir              <LocalTarget />
           = </CopyTargetFragmentRef>

zero_byte_transfer                   <Directory><![CDATA[${USERPROFILE}\jade_demo\a]]></Directory>
= relaxed
target_protocol              </CopyTarget>
       = </Copy>
local
target_host           </Operation>
    </Profile>
  </Profiles>
</Configurations>

File Transfer

          = localhost
target_dir                          = ${USERPROFILE}\jade_demo\a

More Advanced File Selection

Code Block
languagexml
titleXML Configuration: more_advanced_file_selection.xml
collapsetrue
 <<?xml version="1.0" encoding="utf-8"?>
<Configurations xsi:noNamespaceSchemaLocation="http://www.sos-berlin.com/schema/jade/JADE_configuration_v1.0.xsd" xmlns:xsi="http:///www.w3.org/2001/XMLSchema-instance">
  <Fragments>
    <ProtocolFragments />
  </Fragments>
  <Profiles>
    <Profile profile_id="replace_local_datestamp">
      <Operation>
www.w3.org/2001/XMLSchema-instance">
  <Fragments>
    <ProtocolFragments>
      <SFTPFragment name="sftp_server_2_local_poll_minfiles">
        <BasicConnection>
          <Hostname><![CDATA[test.sos-berlin.com]]></Hostname>
          <Port>22</Port>
        </BasicConnection>
        <SSHAuthentication>
          <Account><![CDATA[demo]]></Account>
          <AuthenticationMethodPassword>
            <Password><![CDATA[demo]]></Password>
          </AuthenticationMethodPassword>
        </SSHAuthentication>
      </SFTPFragment>
    </ProtocolFragments>
  </Fragments>
  <Profiles>
    <Profile profile_id="sftp_server_2_local_poll_minfiles">
      <Operation>
        <Copy>
          <CopySource>
            <CopySourceFragmentRef>
              <SFTPFragmentRef ref="sftp_server_2_local_poll_minfiles" />
            </CopySourceFragmentRef>
            <SourceFileOptions>
              <Selection>
                <FileSpecSelection>
                  <FileSpec><![CDATA[^test_[0-9]\.txt$]]></FileSpec>
                  <Directory><![CDATA[/]]></Directory>
                </FileSpecSelection>
              </Selection>
              <Polling>
                <PollInterval>20</PollInterval>
                <PollTimeout>1</PollTimeout>
                <MinFiles>5</MinFiles>
                <PollingServer>false</PollingServer>
                <PollForever>false</PollForever>
              </Polling>
            </SourceFileOptions>
          </CopySource>
          <CopyTarget>
            <CopyTargetFragmentRef>
              <LocalTarget />
            </CopyTargetFragmentRef>
            <Directory><![CDATA[${USERPROFILE}\jade_demo\a]]></Directory>
          </CopyTarget>
        </Copy>
      </Operation>
    </Profile>
  </Profiles>
</Configurations>
Code Block
languagexml
titleFlat File Configuration: more_advanced_file_selection.ini
collapsetrue
[protocol_fragment_sftp@sftp_server_2_local_poll_minfiles]
protocol                            = sftp
host                                = test.sos-berlin.com
port                                = 22
user                                = demo
ssh_auth_method                     = password
password                            = demo
[profile@sftp_server_2_local_poll_minfiles]
operation                           = copy
source_include                      = protocol_fragment_sftp@sftp_server_2_local_poll_minfiles
file_spec                           = ^test_[0-9]\.txt$
source_dir                          = /
poll_interval                       = 20
poll_timeout                        = 1
poll_minfiles                       = 5
polling_server                      = false
polling_server_poll_forever         = false
target_protocol                     = local
target_host                         = localhost
target_dir                          = ${USERPROFILE}\jade_demo\a

File Transfer

Code Block
languagexml
titleXML Configuration: file_transfer.xml
collapsetrue
<?xml version="1.0" encoding="utf-8"?>
<Configurations>
  <Fragments>
    <ProtocolFragments>
      <SFTPFragment name="sftp_server_2_local_cumulate">
        <BasicConnection>
          <Hostname><![CDATA[test.sos-berlin.com]]></Hostname>
          <Port>22</Port>
        </BasicConnection>
        <SSHAuthentication>
          <Account><![CDATA[demo]]></Account>
          <AuthenticationMethodPassword>
            <Password><![CDATA[demo]]></Password>
          </AuthenticationMethodPassword>
        </SSHAuthentication>
      </SFTPFragment>
    </ProtocolFragments>
  </Fragments>
  <Profiles>
    <Profile profile_id="replace_local_datestamp">
      <Operation>
        <Copy>
          <CopySource>
            <CopySourceFragmentRef>
              <LocalSource>
                <Rename>
                  <ReplaceWhat><![CDATA[^(test)(_)[0-9]\.txt]]></ReplaceWhat>
                  <ReplaceWith><![CDATA[file_;[date:yyyy-MM-dd]_]]></ReplaceWith>
                </Rename>
              </LocalSource>
            </CopySourceFragmentRef>
            <SourceFileOptions>
              <Selection>
                <FileSpecSelection>
                  <FileSpec><![CDATA[^test_[0-9]\.txt$]]></FileSpec>
                  <Directory><![CDATA[${USERPROFILE}\jade_demo\a]]></Directory>
                </FileSpecSelection>
              </Selection>
            </SourceFileOptions>
          </CopySource>
          <CopyTarget>
            <CopyTargetFragmentRef>
              <LocalTarget />
            </CopyTargetFragmentRef>
            <Directory><![CDATA[${USERPROFILE}\jade_demo\b]]></Directory>
          </CopyTarget>
        </Copy>
      </Operation>
    </Profile>
    <Profile profile_id="sftp_server_2_local_cumulate">
      <Operation>
        <Copy>
          <CopySource>
            <CopySourceFragmentRef>
              <SFTPFragmentRef ref="sftp_server_2_local_cumulate" />
            </CopySourceFragmentRef>
            <SourceFileOptions>
              <Selection>
                <FileSpecSelection>
                  <FileSpec><![CDATA[^test_.\.txt$]]></FileSpec>
                  <Directory><![CDATA[/]]></Directory>
                </FileSpecSelection>
              </Selection>
            </SourceFileOptions>
          <Copy></CopySource>
          <CopySource><CopyTarget>
            <CopySourceFragmentRef><CopyTargetFragmentRef>
              <LocalSource<LocalTarget />
            </CopySourceFragmentRef>/CopyTargetFragmentRef>
            <Directory><![CDATA[${USERPROFILE}\jade_demo\a]]></Directory>
            <SourceFileOptions><TargetFileOptions>
              <Selection><CumulateFiles>
                <FileSpecSelection>
  <CumulativeFileSeparator><![CDATA[--- File: %{SourceFileName} ---]]></CumulativeFileSeparator>
                <FileSpec><<CumulativeFilename><![CDATA[^test_[0-9]\.txt$text-files.txt]]></FileSpec>CumulativeFilename>
              </CumulateFiles>
      <Directory><![CDATA[${USERPROFILE}\jade_demo\a]]></Directory>
      </TargetFileOptions>
          </FileSpecSelection>CopyTarget>
        </Copy>
      </Selection>Operation>
            </SourceFileOptions>
</Profile>
  </Profiles>
</Configurations>
Code Block
languagexml
titleFlat File Configuration: file_transfer.ini
collapsetrue
[protocol_fragment_sftp@sftp_server_2_local_cumulate]
protocol          </CopySource>
          <CopyTarget>
        =    <CopyTargetFragmentRef>sftp
host              <LocalTarget>
                <Rename>
                  <ReplaceWhat><![CDATA[^(test)(_)[0-9]\.txt]]></ReplaceWhat>
  = test.sos-berlin.com
port                <ReplaceWith><![CDATA[file_;[date:yyyy-MM-dd]_]]></ReplaceWith>
                   </Rename>
= 22
user                     </LocalTarget>
           = </CopyTargetFragmentRef>
demo
ssh_auth_method            <Directory><![CDATA[${USERPROFILE}\jade_demo\b]]></Directory>
         = </CopyTarget>
password
password           </Copy>
      </Operation>
    </Profile>
  </Profiles>
</Configurations>

 

Code Block
languagexml
collapsetrue
<?xml version="1.0" encoding="utf-8"?>
<Configurations xsi:noNamespaceSchemaLocation="http://www.sos-berlin.com/schema/jade/JADE_configuration_v1.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Fragments>
    <ProtocolFragments>
       = demo
[profile@replace_local_datestamp]
operation              <SFTPFragment name="sftp_test">
        <BasicConnection>
    = copy
source_protocol     <Hostname><![CDATA[test.sos-berlin.com]]></Hostname>
                 <Port><![CDATA[22]]></Port>
= local
source_host        </BasicConnection>
        <SSHAuthentication>
          <Account><![CDATA[demo]]></Account>
= localhost
replacing          <AuthenticationMethodPassword>
            <Password><![CDATA[demo]]></Password>
     = ^(test)(_)[0-9]\.txt
replacement    </AuthenticationMethodPassword>
        </SSHAuthentication>
      </SFTPFragment>
    </ProtocolFragments>
  </Fragments>
  <Profiles>
= file_;[date:yyyy-MM-dd]_
file_spec    <Profile profile_id="sftp_server_2_local_cumulate">
      <Operation>
        <Copy>
          <CopySource>
= ^test_[0-9]\.txt$
source_dir            <CopySourceFragmentRef>
              <SFTPFragmentRef ref="sftp_test" />
= ${USERPROFILE}\jade_demo\a
target_protocol               </CopySourceFragmentRef>
      = local
target_host     <SourceFileOptions>
              <Selection>
      = localhost
target_dir         <FileSpecSelection>
                  <FileSpec><![CDATA[^test_.\.txt$]]></FileSpec>
= ${USERPROFILE}\jade_demo\b
[profile@sftp_server_2_local_cumulate]
operation                  <Directory><![CDATA[/]]></Directory>
         = copy
source_include      </FileSpecSelection>
              </Selection>
  = protocol_fragment_sftp@sftp_server_2_local_cumulate
file_spec         </SourceFileOptions>
          </CopySource>
          <CopyTarget>
= ^test_.\.txt$
source_dir            <CopyTargetFragmentRef>
              <LocalTarget= />
target_protocol            </CopyTargetFragmentRef>
            <Directory><![CDATA[${USERPROFILE}\jade_demo\a]]></Directory>
= local
target_host            <TargetFileOptions>
             = <CumulateFiles>
      localhost
target_dir          <CumulativeFileSeparator><![CDATA[--- File: %{SourceFileName} ---]]></CumulativeFileSeparator>
             =   <CumulativeFilename><![CDATA[text-files.txt]]></CumulativeFilename>
${USERPROFILE}\jade_demo\a
cumulate_files                </CumulateFiles>
      = true
cumulative_file_separator     </TargetFileOptions>
      = --- File:  </CopyTarget>
%{SourceFileName} ---
cumulative_file_name        </Copy>
      </Operation>
    </Profile>
  </Profiles>
</Configurations>= text-files.txt

 

Simple File Transfer Operations with multiple Profiles

...