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

PutFTP does not group the batch by user name

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.17.0, 1.16.1
    • 1.18.0
    • Core Framework
    • 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

        1. 01-PutFTP-ProcessGroup.png
          404 kB
          Christoph Langheld
        2. 02-PutFTP-Setting.png
          133 kB
          Christoph Langheld
        3. 03-PutFTP-Result.png
          75 kB
          Christoph Langheld
        4. PutFTP-Bug.xml
          34 kB
          Christoph Langheld

        Issue Links

          Activity

            People

              joewitt Joe Witt
              langheld Christoph Langheld
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h