** this is a copy of the email I've already sent to
[EMAIL PROTECTED] **

Hi, 

  Your parser does not allow to retrieve files list on a ftp
server that uses "weird Unix listing style" as described on
http://www.javaworld.com/javaworld/jw-04-2003/jw-0404-ftp-p2.html
 
  This is when user has no group, your parser will put the
size value inside group's one, a null user value, and 0 in the
size field.

  To correct that I changed line 85 of
UnixFTPEntryParser.java,  from version 1.0.1-dev, changing the
section of regexp used to parse entries that concerns file's
group:

changed "+ "(\\S+)\\s+" to "+ "(\\S+)?\\s+" (added question mark)

  So this way if no group is present all fieds will have
correct values anyway.


 Regards,


Matthieu Recouly

Acc�dez au courrier �lectronique de La Poste : www.laposte.net ; 
3615 LAPOSTENET (0,34�/mn) ; t�l : 08 92 68 13 50 (0,34�/mn)




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

Reply via email to