title: FTPClient.listFiles is not returning time in seconds
body: <pre><code>private static void getFTPFileProperties(FTPClient client,
              String ftpLocation, String pattern) throws IOException {
      FTPFile[] fileList=null;
      fileList = client.listFiles();
      for(int i=0;i&lt;fileList.length;i++)
      {
          FTPFile file= fileList[0];
          Calendar cal = file.getTimestamp();
          DateFormat dateFormater = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
          System.out.println(dateFormater.format(cal.getTime()));
      }
  }
  </code></pre>
  
  <p>I have written the above function to retrieve the file details. But somehow I am retrieving the details without seconds part of the file.
  I am retrieving the <code>lastModifiedDate</code> as <code>2013-08-08 00:00:00</code> where as its actual <code>lastModifiedDate</code> is <code>2013-08-08 12:53:27 PM</code></p>