[resolved] How to send current date files only in tSendMail

One Star

[resolved] How to send current date files only in tSendMail

Hi everyone,
Is there any option to send only the files which have current date from specific path.For once I would do it by simply adding filepath but every day I would get the files with name having current date and for that purpose, the job would be scheduled. How to do it?
Please anyone reply me.
Any help would be greatly appreciated.
Thanks in advance.
Seventeen Stars

Re: [resolved] How to send current date files only in tSendMail

You can iterate through the file with tFileList and use the component tFileProperties to get for every single file the last modified date or the size.
tFileList ---> tFileProperties ---> tIterateToFlow ---> tFilter (or tMap) ---> do something with this file.
One Star

Re: [resolved] How to send current date files only in tSendMail

Thanks for your reply
But my problem is solved by adding Talend.getDate() option in file path. I would send my files through attachments.
Seventeen Stars

Re: [resolved] How to send current date files only in tSendMail

Well also a common solution. Anything solved or is something open?

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

Have you checked out Talend’s 2019 Summer release yet?

Find out about Talend's 2019 Summer release

Blog

Talend Summer 2019 – What’s New?

Talend continues to revolutionize how businesses leverage speed and manage scale

Watch Now

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