Christoph Langheld created NIFI-10532:
-----------------------------------------

             Summary: PutFTP does not group the batch by user name
                 Key: NIFI-10532
                 URL: https://issues.apache.org/jira/browse/NIFI-10532
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core Framework
    Affects Versions: 1.16.1
            Reporter: Christoph Langheld
         Attachments: 01-PutFTP-ProcessGroup.png, 02-PutFTP-Setting.png, 
03-PutFTP-Result.png, PutFTP-Bug.xml

Hello,

for the PutFTP processor we set the host, name, password, port, and target 
directory dynamically via UpdateAttribute.

We now have the problem, that the PutFTP processor transmits every file with 
the same user even the ftp user name changed. The target host does not change, 
only the user.

To reproduce I attached a process group as template ([^PutFTP-Bug.xml]).

The prcess group generates 50 flow files.
UpdateAttribute sets the ftp user credentials and sets a filename prefix 
(NIFI-A_ respectively NIFI-B_).
If everything would work correctly all files with prefix NIFI-A_ should be 
transfered to the ftp server as user nifi-a and the rest as user nifi-b.
But every file will be transferred as the same user (nifi-a).

PutFTP should group the batch by host, login credentials (user, password, port) 
and target directory.

!01-PutFTP-ProcessGroup.png|width=551,height=523!

Result on the ftp server (logged in as user nifi-a):

!03-PutFTP-Result.png|width=268,height=482!

 

Thank you and regards
Christoph

 



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

Reply via email to