You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "dhiraj prajapati (JIRA)" <ji...@apache.org> on 2014/12/05 14:29:12 UTC

[jira] [Created] (NET-560) FTPFile.getTimestamp() does not give precise time

dhiraj prajapati created NET-560:
------------------------------------

             Summary: FTPFile.getTimestamp() does not give precise time
                 Key: NET-560
                 URL: https://issues.apache.org/jira/browse/NET-560
             Project: Commons Net
          Issue Type: Bug
          Components: FTP
    Affects Versions: 3.3
         Environment: Linus, CentOS
            Reporter: dhiraj prajapati


FTPFile.getTimestamp() does not give precise time upto seconds and milliseconds.  For example, the modification time of a file on the ftp server is 2014-12-05 16:28:45.41 but this function gives a calendar object which when converted to timestamp is equivalent to 2014-12-05 16:28:00.0. The seconds and milliseconds information is lost.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)