Hi all,

I got a ParserInitializationException from FtpClient.listFiles().
After some debugging, I found that the cause was the ftp server
returning "UNKNOWN Type: L8" as the system type (instead of something
like "UNIX Type L8").

The fix, it seems, is to add a check for "UNKNOWN" in
DefaultFTPFileEntryParserFactory.createFileEntryParser(key):

For example:

  if (ukey.indexOf(FTPClientConfig.SYST_UNIX) >= 0
    || ukey.indexOf("UNKNOWN") >= 0) // XXX this fixes it

Is this fix reasonable? Is it a known bug? Is there a version of commons-net
that contains this fix?

Thanks,
Allan



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

Reply via email to