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

[net] Unix parser does not handle special files.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2
    • None
    • None
    • None
    • Operating System: other
      Platform: Other

    • 29689

    Description

      At present, the Unix parser (v 1.2.1 of commons-net) doesn't match against a
      file with a leading 's'.

      A side effect is that the parser returns null back to engine.getFiles() (because
      the listed line from the FTP server doesn't match the regex), which is then
      added to the temp LinkedList being created.

      The result is, you end up with null FTPFile instances in the collection returned
      by listFiles().

      I'm not sure if this is by design or not.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              neil@cloudnine.net.nz Neil Clayton
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: