tWaitforFile for ftp folder

Five Stars

tWaitforFile for ftp folder

tWaitforFile triggers the folder set in its "directory to scan" . How can i use it with tFtpGet so that when a file is created in a folder which is stored on ftp server, the further process is triggered in my job. my job design is as follows. what path should i set in  "directory to scan" .Capture1.PNG

Forteen Stars TRF
Forteen Stars

Re: tWaitforFile for ftp folder

Hi,

As soon as the directory you want to scan is on your ftp server, I'm afraid you have to build an infinite loop (with wait time for each iteration) to scan directory content using a tFTPFileList or tFTPFileExist component.


TRF
Five Stars

Re: tWaitforFile for ftp folder

Can you tell me how? 

InfiniteLoop Component on iterate to tFtpFilelist doesn't work. 

Forteen Stars TRF
Forteen Stars

Re: tWaitforFile for ftp folder

You need to build the loop by yourself using tLoop and tSleep component.

The tFTPFileList must be part of the component after tLoop.


TRF

Tutorial

Introduction to Talend Open Studio for Data Integration.

Definitive Guide to Data Integration

Practical steps to developing your data integration strategy.

Definitive Guide to Data Quality

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