Five Stars

FTP a file based on last modified date

I have a job in Talend which need to connect to a ftp folder and look for the file with named 'ABCD' as eg. This file is going to be created everyday(with the same file name) and its placed in the ftp path and daily i need to move this file to some other folder. I'm new to talend and Java. Could you please help me how to move the file when and only the file, last modified date as of the job run date.
Thanks in advance
Community Manager

Re: FTP a file based on last modified date

Using tFTPFileProperties component to get the file properties including mtime, this is the last modified date, check this property if it is the current date, if so, get this file and put it to another folder, the job design looks like:
Talend | Data Agility for Modern Business