You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by J....@CENIT.DE on 2003/12/05 10:50:53 UTC
[NET] [PATCH] DefaultFTPFileListParser: ftp servers returning ger
man date format
Hi,
this is a patch for the DefaultFTPFileListParser.java file which enables
the commons.net.ftp classes to communicate also with ftp servers returning
a german date format which is "day month year" instead of "month day year".
We had this problem with AIX servers having default language of root set to
de_DE.
This patched parser automatically detects the date format and
knows german and english monthnames.
It can easily be adapted for other languages (see method __parseMonth())
Joerg
<<DefaultFTPFileListParser.java>>
Jörg Matysiak
Software Development Systems Management
CENIT AG Systemhaus
Industriestraße 52-54
D-70565 Stuttgart
Tel.: +49 711 7825-3173
Fax: +49 711 7825-4173
j.matysiak@cenit.de <ma...@cenit.de>
www.cenit-group.com <http://www.cenit-group.com/>
+++ Newsticker +++ aktuelle Veranstaltungen unter www.cenit.de/events
<http://www.cenit.de/events> +++ Newsticker +++