commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dhiraj prajapati (JIRA)" <j...@apache.org>
Subject [jira] [Created] (NET-560) FTPFile.getTimestamp() does not give precise time
Date Fri, 05 Dec 2014 13:29:12 GMT
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)

Mime
View raw message