You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/01/12 17:27:00 UTC

[jira] [Commented] (NIFI-7863) PutSmbFile does not create missing folder parents folder

    [ https://issues.apache.org/jira/browse/NIFI-7863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17474740#comment-17474740 ] 

ASF subversion and git services commented on NIFI-7863:
-------------------------------------------------------

Commit 6caffca811bcebcd1d83561cb5a036a80206ea95 in nifi's branch refs/heads/main from Gabriel Barbu
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=6caffca ]

NIFI-9348 NIFI-7863 This closes #5495. Added temporary suffix and fixed [NIFI-7863] creation of the directories

Signed-off-by: Joe Witt <jo...@apache.org>


> PutSmbFile does not create missing folder parents folder
> --------------------------------------------------------
>
>                 Key: NIFI-7863
>                 URL: https://issues.apache.org/jira/browse/NIFI-7863
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>    Affects Versions: 1.12.1
>            Reporter: Jens M Kofoed
>            Assignee: Jaya Aditya Chandrasekar
>            Priority: Major
>          Time Spent: 2h 40m
>  Remaining Estimate: 0h
>
> 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*



--
This message was sent by Atlassian Jira
(v8.20.1#820001)