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

Pierre Villard updated NIFI-15974:
----------------------------------
    Fix Version/s: 2.10.0
       Resolution: Fixed
           Status: Resolved  (was: Patch Available)

> 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
>             Fix For: 2.10.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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