tracker issue : CF-3493138

select a category, or use search below
(searches all categories and all time range)
Title:

CFFTP returns wrong LastModified Date

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/

Reporter/Name(from Bugbase): Saman Jayasekara / Saman Jayasekara (Saman)

Created: 01/30/2013

Components: Net Protocols

Versions: 9.0.1

Failure Type:

Found In Build/Fixed In Build: 9.0.1 /

Priority/Frequency: Major / All users will encounter

Locale/System: English / Win 2008 Server R2

Vote Count: 0

Problem Description:
   CFFTP returns wrong LastModified Date with listDir
Steps to Reproduce:
   Create folder in FTP server (i'm on CentOS ftp server), without touching the folder, CFFTP listDir to it from CF end. It returns wrong date off by a year.

Or load org.apache.commons.net.ftp.FTPClient and getTimestamp(), it return the same wrong date.
Actual Result:

Expected Result:

Any Workarounds:
Copied apache-jakarta-commons-net.jar form Railo, load it with JavaLoader, asked for the getTimestamp() - it gives the correct date

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3493138

External Customer Info:
External Company:  
External Customer Name: Saman
External Customer Email:  
External Test Config: My Hardware and Environment details:

Attachments:

Comments:

There is an issue already logged with apache-commons-net https://issues.apache.org/jira/browse/NET-159 FTPFile.getTimestamp() is off by one year. This bug is raised for commons-net 1.4 and fixed for commons-net-2.0. I have checked for this on coldfusion 9.0.1 with latest hotfix installed and we are getting proper dates. Also coldfusion 9 uses commons-net-2.0 jar. Can you let us know the jar version of commons-net and also cfserver update level and os details. Thanks
Comment by S V.
16434 | May 08, 2014 05:59:01 AM GMT
Same issue with my install of CF 9.0.1 Confirmed in Administrator under CF Server Java Class Path that runtime/../lib/commons-net-2.0.jar is being used.
Comment by External U.
16435 | June 10, 2014 04:10:21 PM GMT
We have tried with multiple ftp servers (CentOS, filezilla and IIS) using CF10 and 11 and unable to reproduce the issue.
Comment by S V.
16436 | November 19, 2014 11:51:26 PM GMT
Closing the bug since we have not got a reproducible case. Will be reopening if bug exists.
Comment by Immanuel N.
16437 | December 04, 2014 06:24:09 AM GMT