title: Get the latest/recent file from FTP to local using Talend
body: <p>I have to create a job in Talend which will connect to One FTP. The FTP is having various files for each day with same prefix but different timestamp appended(yyyymmddhhmmss) in the filename.
  Example - </p>
  
  <blockquote>
    <p>MyFile20151123142020.xml<br>
    MyFile20151123154748.xml</p>
  </blockquote>
  
  <p>My requirement is to pick the latest or most recent file and copy to my local.
  I understand that this could be achieved either by referring to the latest timestamp in the filename or referring to the last modified time. I thought of proceeding with the later and my job looks like below - 
  <a href="https://i.stack.imgur.com/z12L2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/z12L2.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/kF4zw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kF4zw.png" alt="enter image description here"></a></p>
  
  <p>I dont know how to proceed further and how to use the latest mtime value to pick the most recent file.</p>