Details
-
Feature
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
Feature
YADE should support any selection of source files to be filtered by the size of the respective files:
- ... / SourceFileOptions/ MinFileSize: files that are smaller than the specified size are skipped from file transfers
- ... / SourceFileOptions/ MaxFileSize: files that are larger than the specified size are skipped from file transfers
- The value of both FileSize parameters can be specified by a number and a unit where the unit can be B, KB, MB, GB case-insensitive.
- You can omit the B in the unit. In particular, if the value of the parameter doesn't have a unit then it is interpreted as byte.
Test Instructions
- Test with all supported providers as Source
- Use different allowed formats as described in the corresponding element in CONFIGURATION -> File Transfer
- Check YADE logs:
- skipped files should be visible in the logs, including the reason for skipping
- internally resolved (evaluated) byte values must be correct and correspond to the user input
- In addition to the allowed formats, the ${VAR} syntax must remain supported (
YADE-646)
Attachments
Issue Links
- relates to
-
YADE-669 TransferZeroByteFile relaxed - YADE transfer fails if MinFileSize is not configured
-
- Released
-