[ 
https://issues.apache.org/jira/browse/NIFI-7863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jens M Kofoed updated NIFI-7863:
--------------------------------
    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*

  was:
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.


> 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
>
> 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)

Reply via email to