Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I am trying to list files with tfilelist and trying to delete files using tfiledelete component. when I try this process manually I am not getting any error but talend is throwing me below error.
TimeTracking_20190329.csv does not exist or is invalid or is not a file
the above mentioned file is not present in the folder
ls TimeTracking_*
TimeTracking_20190328.csv
TimeTracking_20190508.csv
TimeTracking_20190511.csv
TimeTracking_20190517.csv
TimeTracking_20190402.csv
I cant understand from where it is trying to look for a file which is not existing and throwing error. Please help.
Hi,
I tried the following method and it worked seamlessly (although I tried in windows system, it should work fine in Linux too).
files before deletion
after deletion
Warm Regards,
Nikhil Thampi
Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Hi,
Could you please check whether the full path is getting added in the tFileDelete component?
Warm Regards,
Nikhil Thampi
Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Yes It is giving me error with full path.
/datalake/Prod/Xferout/FSD/CAPPM/TimeTracking_20190329.csv does not exist or is invalid or is not a file.|1 |
Hi,
I tried the following method and it worked seamlessly (although I tried in windows system, it should work fine in Linux too).
files before deletion
after deletion
Warm Regards,
Nikhil Thampi
Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Something went wrong with tfiledelete component I developed same job again and that worked fine. I configured same as you showed but Thanks for your support.