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

ListSFTP File Filter Regex documentation needs to be clearer

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            ophers Opher Shachar

            Dates

              Created:
              Updated:

              Slack

                Issue deployment