Move File from one folder to another folder

Six Stars

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

Community Manager

Re: Move File from one folder to another folder

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

Employee Ram
Employee

Re: Move File from one folder to another folder

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

What’s New for Talend Spring ’19

Join us live for a sneak peek!

Sign up now

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch

Downloads and Trials

Test drive Talend's enterprise products.

Downloads

Definitive Guide to Data Integration

Practical steps to developing your data integration strategy.

Download