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

FetchFTP and FetchSFTP should be able to dynamically create the target directory to move files to if not found

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.7.0
    • Extensions
    • None

    Description

      When using FetchFTP or FetchSFTP with "Completion Strategy" "Move" files it allows you to specify a directory that files are moved to.

      The directory to move files to has to exist for the files to be moved there. But it will be useful if fetch FTP processors create a directory using some attribute data, so that processed files are moved into a folder called:
      "processed/${year}/${month}/${day}"

      Currently with this format, the system creates an exception "FileNotFound" which actually appears to be referring to the destination directory not being found.

      Attachments

        Issue Links

          Activity

            People

              ijokarumawak Koji Kawamura
              ijokarumawak Koji Kawamura
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: