/** * Returns the time that the file denoted by this abstract pathname was last modified. * * @return A <code>long</code> value representing the time the file was last modified, measured in * system-dependent way. */ public long lastModified() { try { Date date = ftpClient.lastModified(getPath()); return date.getTime(); } catch (IOException e) { return 0; } catch (FTPException e) { return 0; } }