Pappu Prasad created NET-559:
--------------------------------

             Summary: mismatch between timestamp and timezone
                 Key: NET-559
                 URL: https://issues.apache.org/jira/browse/NET-559
             Project: Commons Net
          Issue Type: Bug
            Reporter: Pappu Prasad


Using FTPClient.java, FTPFile.java,FTPListParseEngine.java  from 
commons-net-3.2.jar  to access the files on the ftp server(Linux machine) 
located in EET timezone. After accessing the files if  I try to see the time 
zone and time stamp of the file,timestamp is shown in UTC format but timezone 
is shown as timezone of the place where file is being accessed .

Expected was that both should have been in EET format.

Example:
Suppose a file sample.txt on FTP server (in EET zone) has timestamp as 
11/27/2014 11:58:20 AM.


While accessing the file(in EET time zone) using jar mentioned above 
,FTPFile.java's getTimestamp method will return time as   11/27/2014 6:28:20 AM 
EET.

Instead it should have been 11/27/2014 8:28:20 AM EET.

Thanks.



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

Reply via email to