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

Peter Turcsanyi reassigned NIFI-15974:
--------------------------------------

    Assignee: Peter Turcsanyi

> PutSmbFile fails to create recursive parent folder of path include backslashes
> ------------------------------------------------------------------------------
>
>                 Key: NIFI-15974
>                 URL: https://issues.apache.org/jira/browse/NIFI-15974
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 2.9.0
>            Reporter: Jens M Kofoed
>            Assignee: Peter Turcsanyi
>            Priority: Major
>
> If the path include multiple subfolders and the path include backslashes the 
> "createMissingDirectoriesRecursively" fails.
> The method .getParent() in java.io.File does only split on forward slashes.
> A fix could be to include the following line in the 
> "createMissingDirectoriesRecursively":
> {code:java}
> pathToCreate = pathToCreate.replace('\\', '/');{code}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to