Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[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.
Labels (4)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

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. 0683p000009MACn.png
Best regards, MayT.

View solution in original post

8 Replies
Anonymous
Not applicable
Author

Hi,
Your update time is specific or random? Can you set time trigger/ scheduler for your job processing?
Best regards
Sabrina
Anonymous
Not applicable
Author

Hi Sabrina,
It's random so I think I can't use task scheduler.
Best regards, MayT.
Anonymous
Not applicable
Author

Hi,
Have you already checked component reference: TalendHelpCenter:tWaitForFile?
Best regards
Sabrina
Anonymous
Not applicable
Author

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

Hi,
Could you please take a look at a related forum: https://community.talend.com/t5/Design-and-Development/Setting-a-File-Trigger-using-FTP/td-p/63939 to see if it is working for your case?
Best regards
Sabrina
Anonymous
Not applicable
Author

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.
Anonymous
Not applicable
Author

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. 0683p000009MACn.png
Best regards, MayT.
Anonymous
Not applicable
Author

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