[resolved] FTP and tWaitForFile trigger

One Star

[resolved] FTP and tWaitForFile trigger

Hi,
I created a job to change .csv file to .xml file.
I got csv file from FTP server.
When a new file reached on FTP, I want to do format change process immediately.(and delete csv file from FTP)
I think I can use tWaitForFile but I don't understand how to trigger.
New csv file can be got many times in a day.
Is there any advice please?
Best regards, MayT.

Accepted Solutions
One Star

Re: [resolved] FTP and tWaitForFile trigger

Hi,
I got it by using tInfiniteLoop, tFTPFileList, tFTPGet components.
P.S : If there has a component like tFTPWaitForFile, it will be more convenient, I think. Smiley Happy
Best regards, MayT.

All Replies
Moderator

Re: [resolved] FTP and tWaitForFile trigger

Hi,
Your update time is specific or random? Can you set time trigger/ scheduler for your job processing?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: [resolved] FTP and tWaitForFile trigger

Hi Sabrina,
It's random so I think I can't use task scheduler.
Best regards, MayT.
Moderator

Re: [resolved] FTP and tWaitForFile trigger

Hi,
Have you already checked component reference: TalendHelpCenter:tWaitForFile?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: [resolved] FTP and tWaitForFile trigger

Hi,
Yes.I already checked tWaitForFile but I don't understand how to trigger it with tFTP components.
Best regards, MayT.
Moderator

Re: [resolved] FTP and tWaitForFile trigger

Hi,
Could you please take a look at a related forum:https://www.talendforge.org/forum/viewtopic.php?id=11016 to see if it is working for your case?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: [resolved] FTP and tWaitForFile trigger

Hi,
Thanks for your information.
I checked this link but I can't imagine how to connect FTP and tWaitForFile.
If I create tWaitForFile as first component, how can I set "Directory to scan".
Or, if using tFTP components to get files from FTP and check local folder by tWaitForFile,
if there has no file on FTP and how can I know the file is reached on FTP at what time.
Best regards, MayT.
One Star

Re: [resolved] FTP and tWaitForFile trigger

Hi,
I got it by using tInfiniteLoop, tFTPFileList, tFTPGet components.
P.S : If there has a component like tFTPWaitForFile, it will be more convenient, I think. Smiley Happy
Best regards, MayT.
Moderator

Re: [resolved] FTP and tWaitForFile trigger

Hi May T,

Thanks for your feedback.
Feel free to create a new feature of DI project for your requirement tFTPWaitForFile on Talend Bug Tracker.

Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

15TH OCTOBER, COUNTY HALL, LONDON

Join us at the Community Lounge.

Register Now

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

6 Ways to Start Utilizing Machine Learning with Amazon We Services and Talend

Look at6 ways to start utilizing Machine Learning with Amazon We Services and Talend

Blog