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

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch