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

Announcements
Streamlining user types in Qlik Cloud capacity-based subscriptions: Read the Details
cancel
Showing results for 
Search instead for 
Did you mean: 
jebiya
Contributor
Contributor

tFileCopy will not remove source file

When remove source file is checked, the source file is not being removed in TIS 4.1.2
Is there a patch out for this?
Labels (2)
8 Replies
Anonymous
Not applicable

Hi
Can you upload a screenshot of job? Make sure the file is not open by other component/application at that time.
Best regards
Shong
jebiya
Contributor
Contributor
Author

I've tried connecting the tFileCopy with OnSubJobOK and OnComponentOK. The problem still persists.
Anonymous
Not applicable

Hi
There is a design problem in your job, the file is still open by the tFileUnarchive. The job looks like:
tLibraryLoad
|
onsubjobok
|
tFileList_1--iterate-->tFilleunarchive.
|
onsubjobok
|
tFileList_2(iterate the folder again!!)--iterate-->tFileCopy
Best regards
Shong
jebiya
Contributor
Contributor
Author

Hi shong,
I tried iterating on the folder again in a new tFileList but I am still getting the "The source file could not be removed from the folder because it is open or you only have read-only rights." error.
Anonymous
Not applicable

Hi
I tested and got the same problem, please report a bug on our bugtracker.
Best regards
Shong
jebiya
Contributor
Contributor
Author

jebiya
Contributor
Contributor
Author

Is it possible another solution can be had?
Anonymous
Not applicable

Hi
There is a workaround to achieve your request, copy the file to destination directory and remove the file from source directotry first and then unarchive the file to source directory. please see my screenshots.
Best regards
Shong