commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 29689] New: - Unix parser does not handle special files.
Date Sat, 19 Jun 2004 13:45:34 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29689>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29689

Unix parser does not handle special files.

           Summary: Unix parser does not handle special files.
           Product: Commons
           Version: 1.2 Final
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Net
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: neil@cloudnine.net.nz


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.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message