Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tWaitForFile cannt find the CSV files in a folder

Hello

Please I have a Software send to me CSV files in a folder
With Talend Open Studio for Data Integration in Win7, how can I to do a list of orders to use the csv files one by one to use it in my project with tMap

I tried with tWaitForFile -> tFileInputDetimited

And I did the File name of  tFileInputDetimited

((String)globalMap.get("tWaitForFile_1_CREATED_FILE")) -> Not work

And also I tried with tFileList 

((String)globalMap.get("tFileList_1_CREATED_FILE")) -> Not work

Thanks

 

Labels (2)
3 Replies
Anonymous
Not applicable
Author

I did this for test and  also no rows and Iam sure I have a csv file in my folder 


0683p000009Luoq.jpg0683p000009Luaa.jpg

Anonymous
Not applicable
Author

Hi
((String)globalMap.get("tFileList_1_CREATED_FILE")) stores the current file name without file path, you should use this global variable ((String)globalMap.get("tFileList_1_CURRENT_FILEPATH")).

Regards
Shong

Anonymous
Not applicable
Author

If you use tWaitForFile, check the 'Include present file' box to include existing files or create a new file, so tWaitForFile will be triggered.