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

PutSmbFile does not create missing folder parents folder

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.12.1
    • 1.16.0
    • Core Framework
    • None

    Description

      I'm trying the new PutSmbFile, which I have been waiting for for years. So many many thanks to the code writer.

      In the properties it is possible to set "Create Missing Directories" to true. But it will only create the last subdir and not multiple dirs.

      So for instance I would like to save files in: \\server\share\dir1\dir2\dir3. Both Dir1 and Dir2 have to exists.

      It is not possible to save files in dynamically subpaths like: ${year}\${month}\${day}

      This i possible with PutFTP.

      Looking through the code, it use share.mkdir(directory) instead of .mkdir*s*

      Attachments

        Issue Links

          Activity

            People

              jayaaditya Jaya Aditya Chandrasekar
              jmkofoed Jens M Kofoed
              Votes:
              1 Vote for this issue
              Watchers:
              5 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 - 2h 40m
                  2h 40m