One Star

tfileproperties from multiple files

Hello
I would like to know how to determine to get file properties from mulitple files. I have a folder of files that I am transfering to database. And as one of the columns I have to insert file name. I know how to do it for only one file, but for a list of files I have no idea.
Please help.
thank you for answering
3 REPLIES
Community Manager

Re: tfileproperties from multiple files

Hello
You can use the tFileList to iterate each file. For example:
tFileList--iterate-->tFileProperties--main-->tMysqlOutput
Best regards
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: tfileproperties from multiple files

Hi
I am using tFileList--iterate-->tFileProperties--main-->tFileOutputDelimited, and I am not getting any records though there are many files in the directory. I am using TOS-All-r53829-V4.2.0M2.
Please let me know if I am missing any setup.
Regards
Paras
One Star

Re: tfileproperties from multiple files

Hi
whats the file mask you have given in tFileList. If all files have to picked you can give *.* or only text then give *.txt