how to take all list of file name in the directory based on the condition?

Six Stars

how to take all list of file name in the directory based on the condition?

how to take all list of file name in the directory based on the condition?

 

For example:

dir : NameDIR 

files: name1.csv, name2.csv

 

tfilelist ---- tfileProperties ---- tflowTolerate_1 ---- tmsg   ---if condtion (LIST OF FILES) ---- component OK ---- success

 

We need to get the file name list in final?

 

After get the all files finally need to action the next step.

 

can you guide me further process.


Accepted Solutions
Fifteen Stars TRF
Fifteen Stars

Re: how to take all list of file name in the directory based on the condition?

Hi,

As I understand, you want to get the file list from a directory.

Here is a solution with the needed components and the configuration for tIterateToFlow which makes the job:

 

Capture.PNG

At the end, tHashOutput_3 contains 1 row per file with the full pathname.

Does this matches with what you expect?


TRF

All Replies
Fifteen Stars TRF
Fifteen Stars

Re: how to take all list of file name in the directory based on the condition?

Hi,

As I understand, you want to get the file list from a directory.

Here is a solution with the needed components and the configuration for tIterateToFlow which makes the job:

 

Capture.PNG

At the end, tHashOutput_3 contains 1 row per file with the full pathname.

Does this matches with what you expect?


TRF

What’s New for Talend Spring ’19

Watch the recorded webinar!

Watch Now

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch

Downloads and Trials

Test drive Talend's enterprise products.

Downloads