commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pappu prasad <pprasadn...@gmail.com>
Subject Fwd: [net] mismatch between timestamp and timezone
Date Sun, 30 Nov 2014 18:52:01 GMT
Hi,

I am 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) is created at
11/27/2014 8:28: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.

Please help me to resolve this issue.

Thanks & Regards,

Pappu

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message