...
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 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 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.
...
Use together with parameter: cumulative_file_separator, cumulative_file_delete, cumulate_files6.5.10.1.3.3
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.
...
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.
...
Use together with parameter: cumulative_filename, cumulative_file_separator, cumulative_file_delete, cumulate_files
...
Examples: Cumulate Files
...
Code Block |
---|
[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 Theextension of the file-name is defined with the parameter compress_filename_extension.
...
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.
...
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
...