Talend Connect
Virtual Summit
JOIN US!
And visit the Customer
& Community Lounge.
May 27-28, wherever you are.

[resolved] FTP and tWaitForFile trigger

Highlighted
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
Highlighted
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.

View solution in original post


All Replies
Highlighted
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.
Highlighted
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.
Highlighted
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.
Highlighted
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.
Highlighted
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.
Highlighted
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.
Highlighted
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.

View solution in original post

Highlighted
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.

2019 GARTNER 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

Best Practices for Using Context Variables with Talend – Part 2

Part 2 of a series on Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog