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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] tFileCopy and tFileDelete

Hello,
I try to copy a whole directory (or more) and delete it after.
To do this, i use a tFileCopy component and a tFileDelete component. The problem is when i want to do this on large file (>150Mo) it doesn?t delete every file in the directory.
I think that the problem comes from the tFileCopy. It doesn?t close the file.
Have you any suggestion ?
Regards
Labels (2)
21 Replies
Anonymous
Not applicable
Author

I try this :
context.output+((String)globalMap.get("tFileList_4_CURRENT_FILEDIRECTORY")).substring(context.input.length())
context.output = "E:/TestASupprimerEnsuite/Out"
context.input = "E:/TestASupprimerEnsuite/In"
It works fine.
Anonymous
Not applicable
Author

Preatorien,

Where can i find the screenshot of your solution?

I am interested to find out how you tackled this issue, as i am encountering a similar problem.

I understand that you are working with the folder and files separately but i'm confused in how to do it in Talend. Due to this reason, i hoped you had attached a screenshot showing your work in Talend.