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

Allow FTPFile entries to be generated even if date parsing fails

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: FTP
    • Labels:
      None

      Description

      Most of the FTPEntryParser classes return null if date parsing fails.

      This can cause an otherwise good entry to be ignored, when perhaps the only problem is that the parsing is faulty.

      The suggestion is to allow such entries to be kept, but with a null date.

      This is already done by the EnterpriseUnixFTPEntryParser.

      Patches to follow.

        Attachments

        1. net-205-invalidDates.diff.txt
          0.6 kB
          Martin Oberhuber
        2. AllowUnparseableDates.patch
          6 kB
          Sebb

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                sebb Sebb
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: