Using Talend, I want to verify if there is a file named ListePS.xls
in my D:/
to do some treatment else nothing.
How do I check if file exists in Talend?
you must use the component tFileExist with two outputs IF:
((Boolean) globalMap.get ("tFileExist_1_EXISTS")) for the case 1(File existence)
! ((Boolean) globalMap.get ("tFileExist_1_EXISTS")) for case 2 (non-existence of file)