[ https://issues.apache.org/jira/browse/NIFI-7863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17210646#comment-17210646 ]
Jaya Aditya Chandrasekar edited comment on NIFI-7863 at 10/9/20, 6:45 AM: -------------------------------------------------------------------------- I made a PR trying to fix this issue, May I have this ticket assigned to me? was (Author: jayaaditya): I made a PR trying to fix this issue, May I have this ticket, assigned to me? > 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 > Priority: Major > Time Spent: 50m > 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.3.4#803005)