Commands for the transfer
Commands for the transfer
pre_transfer_commmands - pre_transfer_commmands
Data-Type: SOSOptionCommandString
The default value for this parameter is .
post_transfer_commmands - commands, which has to be executed after the transfer ended
Data-Type: SOSOptionCommandString
The default value for this parameter is .
Cumulate File Parameters
With the options described in this chapter one can be determined that the files from the resultlist not should be transferred separately, but are to be combined prior to transfer to another, further file (target file) consecutively.
The name of the file is set with the parameter cumulative_filename.
With the parameter cumulative_file_separator is set a text that will be inserted between the individual files in the target file.
The files can be deleted after transfer.
cumulate_files - cumulate (all) files into a single file
This option determines whether the individual files from the results list should be individually transferred and then cumulated (i.e. packed together in a single file) at the transfer target.
The name of the cumulative file is specified using the cumulative_filename parameter.
The cumulative_file_separator parameter is used to specify a text that is placed in the target file, between the individual files, in order to be able to separate these files.
The individual files can be deleted after transfer if required. This is determined using the cumulative_file_delete or remove_files parameters.
Data-Type: SOSOptionBoolean
The default value for this parameter is false.
cumulative_filename - cumulate (all) files into a single file
This option determines whether the individual files from the results list should be individually transferred and then cumulated (i.e. packed together in a single file) at the transfer target.
The name of the cumulative file is specified using the cumulative_filename parameter.
The cumulative_file_separator parameter is used to specify a text that is placed in the target file, between the individual files, in order to be able to separate these files.
The individual files can be deleted after transfer if required. This is determined using the cumulative_file_delete or remove_files parameters.
Data-Type: SOSOptionOutFileName
The default value for this parameter is .
Use together with parameter: cumulative_file_separator, cumulative_file_delete, cumulate_files
cumulative_file_separator - cumulate (all) files into a single file
This option causes files from the results list to be cumulated together into a single target file, one after the other, before being transferred. This is in contrast to the default transfer mode in which files are transferred individually.
The name of the cumulative file is set using the cumulative_filename parameter.
The cumulative_file_separator parameter is used to specify a text that is placed in the target file, between the individual files, in order to be able to separate these files.
The individual files can be deleted after transfer if required. This is determined using the cumulative_file_delete or remove_files parameters.
Data-Type: SOSOptionString
The default value for this parameter is .
Use together with parameter: cumulative_filename, cumulative_file_separator, cumulative_file_delete, cumulate_files
cumulative_file_delete - cumulate (all) files into a single file
This option determines whether the individual files from the results list should be individually transferred and then cumulated (i.e. packed together in a single file) at the transfer target.
The name of the cumulative file is specified using the cumulative_filename parameter.
The cumulative_file_separator parameter is used to specify a text that is placed in the target file, between the individual files, in order to be able to separate these files.
The individual files can be deleted after transfer if required. This is determined using the cumulative_file_delete or remove_files parameters.
Data-Type: SOSOptionString
The default value for this parameter is .
Use together with parameter: cumulative_filename, cumulative_file_separator, cumulative_file_delete, cumulate_files
Examples: Cumulate Files
[cumulate_using_cumulative_file] include=local_source_host,local_target_host,jadeHistory file_spec=^.*\.txt$ operation=copy source_dir=R:/backup/sos/java/junittests/testdata/JADE/ target_dir=c:/temp/a cumulate_files=true cumulative_file_name=t.1 cumulative_file_separator=--- File: %{SourceFileName} --cumulative_file_delete=true
Profile "sample_transfer
Compressing Files
Compressing Files
compress_files
This parameter specifies whether or not the content of the source fil es should be compressed by using a zip-algorithm.
In case of sending files each files which has to be selected for sending will be compressed in a single zip file. Theextension of the file-name is defined with the parameter compress_filename_extension.
A gzip-compatible compression is used, no further software components are required.
If compress_files is used the parameter append_files is not allowed.
Data-Type: SOSOptionBoolean
The default value for this parameter is false.
compressed_file_extension -
This parameter specifies the file extension should target file compression be specified using the compress_files parameter.
Data-Type: SOSOptionString
The default value for this parameter is .gz.
decompress_after_transfer - Unpack Files after
Data-Type: SOSOptionString
The default value for this parameter is false.
Compressing Files
Commands for each object
pre_command - Command to be executed before transfer
Data-Type: SOSOptionString
The default value for this parameter is .
post_command - Command to be executed after transfer
Data-Type: SOSOptionString
The default value for this parameter is .