Happens in FTPFileParser.split(String) when calling FTPClient.dirDetails(String)
The problem seems to be that the constant FTPFileParser.MAX_FIELDS is too small and if a file contans too many spaces then its name is split in to many parts.
I think it will be better to replace this fixed length array called 'fields' (in FTPFileParser.split()) with some dynamic mechanism for storing all those Strings.