Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-7809

ListSFTP File Filter Regex documentation needs to be clearer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.11.4
    • None
    • Extensions

    Description

      The documentation for "File Filter Regex" property of ListSFTP processor reads:

      Provides a Java Regular Expression for filtering Filenames; if a filter is supplied, only files whose names match that Regular Expression will be fetched

      But it should be made clear that the Regex needs to match the whole filename. e.g. to filter files ending in ".txt.gz" the following will not work:

      \.txt\.gz$
      

      You'd need to specify:

      .*\.txt\.gz
      

      or equally:

      .*\.txt\.gz$
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            ophers Opher Shachar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: