Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Minor corrections to text

...

Code Block
languagebash
jade.cmd -settings="%USERPROFILE%\jade_demo\jade_settings.ini" -profile="sftp_server_2_local_zero_byte"

Behavior

  • With the zero_byte_transfer parameter the TransferZeroByteFiles element set to relaxed (i.e. with the file_spec and zero_byte_transfer FileSpec and  TransferZeroByteFiles parameters set as listed above) the test_4.txt zero byte file will not be downloaded.
  • Changing the zero_byte_transfer the TransferZeroByteFiles setting to no by commenting in/out the  appropriate line in the profile and rerunning the example will:
    • cause the the test_4.txt file to be ignored as with the relaxed setting and
    • cause an error to be raised if no files with more than zero bytes are found - i.e. if no files are to be transferred.
      This can be demonstrated by activating the alternative file_spec FileSpec regex (to ^test_[4]\.txt$) setting which will only match for the zero byte file.
  • A setting of zero_byte_transfer of TransferZeroByteFiles = strict will cause an error to be raised if any zero byte files are matched.