Jens M Kofoed created NIFI-15974:
------------------------------------
Summary: 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
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":
pathToCreate = pathToCreate.replace('\\', '/');
--
This message was sent by Atlassian Jira
(v8.20.10#820010)