[ 
https://issues.apache.org/jira/browse/NET-560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14241009#comment-14241009
 ] 

Sebb commented on NET-560:
--------------------------

Note: another possible option is MDTM / getModificationTime()
This is fairly widely supported and is supposed to return the time in GMT/UTC.
It only applies to a single file and does not list directory contents.

> 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)

Reply via email to