There is an issue with the commons net UNIX directory parser in the case
where there is a single digit for the hour of the day or day of the month -
as for the above server. Null pointers are returned instead of filenames in
these cases.
The following "hack" to UnixFTPEntryParser.java appears to fix the problem.
//+ "((?:[0-9])|(?:[0-2][0-9])|(?:3[0-1]))\\s+"
//+ "((\\d\\d\\d\\d)|((?:[01]\\d)|(?:2[0123])):([012345]\\d))\\s"
+ "((?:[0-9])|(?:[0-2][0-9])|(?:3[0-1])|[1-9])\\s+"
+
"((\\d\\d\\d\\d)|((?:[01]\\d)|(?:2[0123])|[1-9]):([012345]\\d))\\s"
Kind regards
Brian Marsden
Senior Windows Application Developer
CDL
-------------------
This email is personal. It is not authorised by or sent on behalf of the
sender's employer. This email is the personal responsibility of the sender.