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

Allow FTPFile entries to be generated even if date parsing fails

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • FTP
    • 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. AllowUnparseableDates.patch
          6 kB
          Sebb
        2. net-205-invalidDates.diff.txt
          0.6 kB
          Martin Oberhuber

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: