The Definitive Guide to Data Quality
What is the value of context.filename? (is it the filename or the directory to look for the file?)
Try putting "C:\Test" in the direcory field and context.filename+"*.tar.gz" in the file mask.
I think from what I can gather you are trying to use the directory field as directory AND filemask.
Sorry for my delay to answer.
According to your description at comment #14, I create a new job.
This time i'm sure it will work fine. I simply use tFileList to loop.
Now there are two tar.gz files(abc.tar.gz and abc2.tar.gz) under C:\Test directory in my local computer.
Loop1: tFileList gets the absolute file path of abc.tar.gz.
tFileUnarchive unzip abc.tar.gz.
Use onComponentOK to trigger tOracleExec.
After finishing tOracleExec, use onComponnetOk to trigger tFileCopy. Copy abc.tar.gz from C:\Test to C:\Imported and remove source file(abc.tar.gz) in C:\Test.
Use tFileList_2 to iterate files under C:\Extraction. Then tFileDelete will delete one.csv.
Loop2 : Start to get abc2.tar.gz.
1. What is the difference between Iterate and OnComponent OK?
2. Why does the job failed if i use Iterate in all the components?