Uploaded image for project: 'Commons Net'
  1. Commons Net
  2. NET-331

AS400 file timestamp format is wrong

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 3.0
    • Component/s: FTP
    • Labels:
      None
    • Environment:

      AS400

      Description

      There is a bug in org.apache.commons.net.ftp.parser.OS400FTPEntryParser.java. The variable "private static final String DEFAULT_DATE_FORMAT" needs to be changed from "yy/MM/dd HH:mm:ss"; //01/11/09 12:30:24 to "MM/dd/yy HH:mm:ss"; //01/15/08 14:21:38 to work correctly. I have tested this on our companies AS400 and it solved the problem we were having.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jurban Jim Urban
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: