Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tFileDelete_1 does not exist or is invalid or is not a file error

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.

 

 

 

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hi,

 

     I tried the following method and it worked seamlessly (although I tried in windows system, it should work fine in Linux too).

0683p000009M4O5.pngfiles before deletion

 

0683p000009M4Jz.png

0683p000009M4OK.png

 

0683p000009M4OP.png

 

0683p000009M4OU.pngafter 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 🙂

View solution in original post

4 Replies
Anonymous
Not applicable
Author

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 🙂

Anonymous
Not applicable
Author

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   |

Anonymous
Not applicable
Author

Hi,

 

     I tried the following method and it worked seamlessly (although I tried in windows system, it should work fine in Linux too).

0683p000009M4O5.pngfiles before deletion

 

0683p000009M4Jz.png

0683p000009M4OK.png

 

0683p000009M4OP.png

 

0683p000009M4OU.pngafter 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 🙂

Anonymous
Not applicable
Author

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.