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

UnixFTPEntryParser Drops Leading Spaces from File Names

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.3
    • 3.4
    • FTP
    • None
    • OSX client, Linux ftpd

    Description

      The UnixFTPEntryParser regular expression (line 106) consumes all spaces between the timestamp and the file name.

      The FTPFile.name property ends up getting a value with stripped leading spaces.

      Reported by Spring Integration user at https://jira.spring.io/browse/INT-3591

      Attachments

        1. unixParser.patch
          5 kB
          Gary Russell

        Issue Links

          Activity

            People

              Unassigned Unassigned
              grussell Gary Russell
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: