Deleting Temporary files created during ETL process

One Star

Deleting Temporary files created during ETL process

Hi,
I'm running an ETL process wherein I have to write some data into a temporary file and then read it. This thing happens on everyday basis. So I want to delete those temporary files once my ETL job is completed. Is there any way to do it in TalenD itself or do I need to delete those files from some external logic?
Please suggest.
thanks
Gnyanendra
One Star

Re: Deleting Temporary files created during ETL process

Hi,
Sure, you can use a subjob which will delete all files, based on a list or a file mask. You can use the tFileDelete component for this and use the tFileList for example.
Regards,
Arno