Hi Experts,
I am on PI 7.31 single stack file to SFTP scenario.
I made the java code to dynamically create the target directory path based on the file name.
The target directory will be E:\Staging\LandingArea\2016\
Code logic:
String targetDir= "E:\\Staging\\LandingArea";
filename = filename.substring(9,13);
subDir = filename;
targetDir = targetDir + "\\" + subDir + "\\";
in receiver channel I am getting error as "Message processing failed. Cause: javax.resource.ResourceException: java.lang.Exception: K:\Staging\LandingArea\2016\/ does not exists.
extra "/ " is adding at the end.
Can you please help me to resolve the issue.
Thanks,
Akhila.A