commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Cohen <sco...@javactivity.org>
Subject Re: [net] FTP client date parsing: new format
Date Wed, 06 Apr 2005 23:58:11 GMT

Neeme Praks wrote:
> I now implemented support for FTPClientConfig in my local Ant <ftp>
> task, but somehow it still fails to parse this directory listing,
> although it parses the timestamp correctly (I tested that with jUnit).
> 
> Is it because the parser assumes that the 3rd and 4th parameters (owner
> and group) are supposed to be numbers as opposed to names?
> -rw-r--r--   1 neeme neeme   385 2005-03-21 14:26 about.vsp

No.  It accepts any non-whitespace characters for these fields.

> 
> I used the following configuration for parsing:
> <configuration defaultDateFormatStr="yyyy-MM-dd HH:mm"
> serverTimeZoneId="Europe/Oslo"
> shortMonthNames="01|02|03|04|05|06|07|08|09|10|11|12"/>
> (and the system type defaults to Unix)

How does it fail?  It should not be necessary to define shortMonthNames, 
but I don't think that is the cause of your problem.


> 
> Neeme
> 
> Steve Cohen wrote:
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message