Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I am currently attempting to use the tWaitForFile component and the tFileCopy component to copy the most recently created file from one directory to another.
The differentiation between the files is the fact that today's date is appended. E.g. "Duplicates-2017-01-10.csv".
I only want to select the file which was created today to be copied. I have used the following filemask:
"Duplicates" + "-" + TalendDate.getDate("yyyy-MM-dd") + ".csv"
Would that work? This does not seem to be working for me.
Cheers,
Chris