Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Screenshots updated

...

  • The value of the file_spec defines the regular expression used to filter file names

  • A recursive child element has been added to the FileSpecSelection element and its value set to true (the default value is false).
  • The source_dir parameter has also been changed to:
    • /rec


Image RemovedImage Added

The Profile Code

...

The DisableErrorOnNoFilesFound element is specified as a Directives child element, the next screenshot shows how this element is integrated in a configuration:

Image RemovedImage Added

The effect of setting the DisableErrorOnNoFilesFound element can be demonstrated if, for example, the FileSpec regular expression in the Profile element to, for example ^text\.txt$ and recalling the operation.

...

The screenshot also shows the relevant extract from the parameter reference for the TransferZeroByteFiles element with a description of the meaning of the different values the TransferZeroByteFiles element can have.

 

Image RemovedImage Added

The Profile Code

...

Code Block
titleThe 'ftp_server_2_local_zero_byte' Profile in settings.ini Format
collapsetrue
[protocol_fragment_ftp@ftp_demo_sos-berlin]
protocol                            = ftp

host                                = test.sos-berlin.com
user                                = demo
password                            = demo


[ftp_server_2_local_zero_byte]
operation                           = copy

source_include                      = protocol_fragment_ftp@ftp_demo_sos-berlin
file_spec                           = .*
source_dir                          = ./
force_files                         = false
zero_byte_transfer                  = false

target_protocol                     = local
target_dir                          = ${USERPROFILE}\jade_demo\a

...