You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Joe Witt (Jira)" <ji...@apache.org> on 2022/09/24 00:45:00 UTC

[jira] [Created] (NIFI-10541) PutSFTP listing logic fails when credentials/location come from flow file attributes

Joe Witt created NIFI-10541:
-------------------------------

             Summary: PutSFTP listing logic fails when credentials/location come from flow file attributes
                 Key: NIFI-10541
                 URL: https://issues.apache.org/jira/browse/NIFI-10541
             Project: Apache NiFi
          Issue Type: Bug
    Affects Versions: 1.17.0, 1.18.0
            Reporter: Joe Witt


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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)