DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17224>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17224

Method DefaultFTPFileListParser.parseFTPEntry() returns null for an unparsable but 
non-empty line

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From [EMAIL PROTECTED]  2003-02-20 15:05 -------
This isn't a bug, although there was a typo in part of the documentation
that I just fixed.  parseFTPEntry() either can parse an entry or cannot
parse an entry.  If the entry cannot be parsed, the method returns null.
This is by design, not by accident.  In your MVS parser, if PANELS by itself
is a valid listing, then you are free not to return null and include an
FTPFile with partial information.  However, this is not appropriate for
DefaultFTPFileListParser, which parses Unix style entries.

However, you are encouraged to submit your MVS file listing parser as a
patch that can be included in a future release.  The FTP package will likely
be moving to a more easily extended listing parser class structure (see
proposal/ftp2 in the source tree) and we'd like to support as many
listing formats as possible.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to