#1 2008-03-12 14:52:25

deadland
Member
Registered: 2008-02-29
Posts: 68

tWaitForFile doesn't react

Tags: [file, iterate, java]

Hi,

I can't get the component tWaitForFile to work.

I want to scan for a csv file and convert it to an excel sheet. If I use tFileListInput it works perfectly, but it doesn't work, if I use tWaitforFile as a trigger.


Uploaded Images

Offline

#2 2008-03-13 08:05:29

shong
Talend team
Registered: 2007-08-29
Posts: 10310
Website

Re: tWaitForFile doesn't react

Hello

tWaitForFile component will monitor a specify folder and tigger one thing once you create a new file or delete a file. In your case, if you just want to monitor one folder whether there are some new files created and convert them to an excel sheet, you needn't to use tFileList component. Do it like this:
tWaitForFile --Iterate-->tFileInputDelimited--main-->tUnit--->tFileOutputExcel

Best regards

          shong


Email:shong@talend.com
Choose Talend, Enjoy Talend!
New & Event: Talend Help Center
Talend-->the leader of open source data management and application integration solutions!

Offline

Board footer

Powered by FluxBB