Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Move File from one folder to another folder

Hi,

How to Move File from current folder in use to InProcess folder and once file is processed without error, move to Process folder and if error then move to Error Folder.

 

Thanks,

Dhara

Labels (2)
2 Replies
Anonymous
Not applicable
Author

Use the tFileCopy component and tick the "Remove source file" to move a file.

Anonymous
Not applicable
Author

With tFileCopy component you can move to a directory inProgress. 

Process the file in a subjob , if the Sub job errors moved to error folder. 

In your job you need to control the move between folders & error handling

 

Another approach is to use a ESB Mediation Route component cFile  with options preMove, move & moveFailed

http://camel.apache.org/file2.html