i have to create the folder in tfileoutputdelimiter and then create csv file in that folder.
filename path :
1. context.tmp_folder is having path
2. new_folder needs to create after tmp_folder path
3. context.filename is having csv file name
here ia m not able to create new folder as above format?
please let me know how to proceed..
Solved! Go to Solution.
Have you selected the option - "Create directory if doesn't exists" under the Advanced settings.
yes,m getting the below error.
java.io.FileNotFoundException: D:\tmp_path\new_folder\filename_error.csv (The system cannot find the path specified)
If you are running talend on windows try the below
in Context variable for Folder path use forward slash "/" instead of "\".
Tried to re-pro your use case but didn't find any such error occurrence. Would it be possible if you could show the job layout and the configuration for your tFileOutputDelimited.
tmp_data path is taking from property file. +
newfoldershould create +
context.filename is taking from source_file_name_error.csv
error:: java.io.FileNotFoundException: ----> path (The system cannot find the path specified)
i cant hard code the path in context group.. path will taken from the config property file. When we move the code to test environment it should not have the problem.