Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello Talend Community,
I have a tfileunarchive component that calls on two context variable "One a Directory" one as a "Value" and a tFileList_2_CURRENT_FILE. See My attachment of the component
The Directory is my local drive on my PC and the Value is a date in a 'YYYYMMDD' format. and the file that is a Zip from tFileList2 Component. Im trying to unzip that file in the same folder.
What is the proper syntax for calling two context variables and a TfileList parameter. I am getting a Java Error on this component now with the syntax.
Current Syntax on Archive File: context.copyfilepath + context.ymd_date ((String)globalMap.get("tFileList_2_CURRENT_FILE"))
Extraction Directory: context.copyfilepath + context.ymd_date
I know the folder exists in the directory that I created with my tfileCopy component.
Any help would be appreciated
1. you have missed + between context.ymd_date and global variable
2. you must add also +"/"+ in apropriate places if your variables already do not ending with / (/ will work and for Linux and for Windows path)
1. you have missed + between context.ymd_date and global variable
2. you must add also +"/"+ in apropriate places if your variables already do not ending with / (/ will work and for Linux and for Windows path)