...
- With the TransferZeroByteFiles element set to false or relaxed (i.e. and with the FileSpec and TransferZeroByteFiles parameters set set to
^test_.\.txt$
as listed above) neither will the test_4.txt zero byte file be downloaded nor will not an error be downloadedraised. - Changing Setting the TransferZeroByteFilessetting to no by commenting in/out the appropriate line in the profile element to false and rerunning the example will:
- cause Cause the the test_4.txt file to be ignored as with the relaxed setting and
- cause 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 changing the alternative FileSpec regex to^test_[4]\.txt$
which will only match for the zero byte file.
- A setting of TransferZeroByteFiles = strict will cause an error to be raised if any zero byte files are matched.
...