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

PutSFTP listing logic fails when credentials/location come from flow file attributes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.17.0, 1.18.0
    • None
    • None
    • None

    Description

      In fixing NIFI-10532 it was discovered that PutSFTP logic for listing directories to check if the required directories exist will not work when key values come from flowfile attributes such as login credentials or destination directory or host/port data. This might have worked before NIFI-10532 but only by accident. The solution will be to inject the flowfile and resolve its values properly when constructing the sftp client.

      The performance will be poor generally in such cases but this is a known limitation of this level of flexibility.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              joewitt Joe Witt
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: