Uploaded image for project: 'YADE - Managed File Transfer'
  1. YADE - Managed File Transfer
  2. YADE-381

Filter files by file size

    XMLWordPrintable

Details

    • Feature
    • Status: Released (View Workflow)
    • Minor
    • Resolution: Fixed
    • None
    • 2.9.0
    • 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

          Activity

            People

              re Robert Ehrlich
              ap Andreas Püschel
              Rajrani Upadhyay Rajrani Upadhyay
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: