Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
1.17.0, 1.16.1
-
None
Description
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). You have to adapt the ftp server settings within the UpdateAttribute processor to your environment.
The process 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.
PutFTP settings:
Result on the ftp server (logged in as user nifi-a):
Thank you and regards
Christoph
Attachments
Attachments
Issue Links
- duplicates
-
NIFI-5717 FTPTransfer can't connect to different users in a same host
- Resolved
- relates to
-
NIFI-10541 PutSFTP listing logic fails when credentials/location come from flow file attributes
- Open
- links to