Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 48076 invoked from network); 24 Mar 2005 03:16:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 Mar 2005 03:16:54 -0000 Received: (qmail 96456 invoked by uid 500); 24 Mar 2005 03:16:53 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 96425 invoked by uid 500); 24 Mar 2005 03:16:52 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 96411 invoked by uid 99); 24 Mar 2005 03:16:52 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,FORGED_RCVD_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of jbrekke@wi.rr.com designates 24.94.166.122 as permitted sender) Received: from ms-smtp-02.rdc-kc.rr.com (HELO ms-smtp-02.rdc-kc.rr.com) (24.94.166.122) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 23 Mar 2005 19:16:49 -0800 Received: from firefoot.brekke.org (CPE-65-31-148-20.wi.rr.com [65.31.148.20]) by ms-smtp-02.rdc-kc.rr.com (8.12.10/8.12.7) with ESMTP id j2O3GVY1005738 for ; Wed, 23 Mar 2005 21:16:33 -0600 (CST) Received: from shadowfax.brekke.org ([192.168.0.104]) by firefoot.brekke.org with esmtp (Exim 4.44) id 1DEIpP-00089n-7t for commons-dev@jakarta.apache.org; Wed, 23 Mar 2005 21:16:11 -0600 Message-ID: <4242310E.1040305@brekke.org> Date: Wed, 23 Mar 2005 21:16:30 -0600 From: "Jeffrey D. Brekke" User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jakarta Commons Developers List Subject: Re: [net] FTP client date parsing: new format References: <424197DC.3010106@apache.org> <42420DC7.1030201@javactivity.org> In-Reply-To: <42420DC7.1030201@javactivity.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Works for me. go for it. Steve Cohen wrote: > Wow! Thanks for showing us this. > > That's a format I've not seen before. Where did it come from? Is it by > any chance a public site? In past experience, all unix ftp servers, > which I presume this to be, have used abbreviations for the months. > > There IS a new system in the latest version of commons-net that would > allow you to specify an alternate date format. I consider this a nice > validation of the new design - it offers a way to work with a format we > didn't even know existed. > > It's not hooked up to ant yet but that was always my intent. > > What say, other commons-net committers? Are we ready to build 1.4? Then > I could add hooks for this new system in Ant. > > Steve Cohen > > Neeme Praks wrote: > >> Hi all! >> >> Attached is a sample directory listing that breaks the 1.3.0 >> commons-net FTP client directory parsing, at least when used from Ant >> task. The basic difference is that the dates are specified as numbers >> (2005-03-21 14:26), not as month names. >> I saw on the mailing list that there is now a possibility to use >> custom date parsers, but I'm not sure how well that would mix with the >> Ant task. >> Or maybe there is already a fix for this in CVS and I can just build >> from CVS? >> >> Thanks, >> Neeme >> >> >> ------------------------------------------------------------------------ >> >> ftp> ls -l >> 200 PORT command successful. >> 150 Opening ASCII mode data connection for '/bin/ls'. >> total 356 >> -rw-r--r-- 1 inpoc inpoc 385 2005-03-21 14:26 about.vsp >> -rw-r--r-- 1 inpoc inpoc 27 2005-03-21 14:26 animations.vsp >> -rw-r--r-- 1 inpoc inpoc 778 2005-03-21 14:27 animations.wap.vsp >> -rw-r----- 1 inpoc inpoc 365 2005-03-21 14:27 animations.web.vsp >> drwxrwxr-x 2 inpoc inpoc 4096 2005-03-08 11:12 bite.inpoc.lt >> drwxrwxr-x 2 inpoc inpoc 4096 2005-03-08 11:12 biterus.inpoc.lt >> -rw-r--r-- 1 inpoc inpoc 198 2005-03-21 14:27 crossdomain.xml >> -rw-r--r-- 1 inpoc inpoc 27 2005-03-21 14:27 dynamic_sms.vsp >> -rw-r--r-- 1 inpoc inpoc 1088 2005-03-21 14:27 dynamic_sms.wap.vsp >> -rw-r----- 1 inpoc inpoc 355 2005-03-21 14:27 dynamic_sms.web.vsp >> drwxrwxr-x 2 inpoc inpoc 4096 2005-03-08 11:12 emtgo.inpoc.ee >> drwxrwxr-x 2 inpoc inpoc 4096 2005-03-08 11:12 emtgorus.inpoc.ee >> drwxrwxr-x 2 inpoc inpoc 4096 2005-03-21 12:44 face.inpoc.lv >> drwxr-xr-x 4 inpoc inpoc 4096 2004-10-21 14:45 flash >> lrwxrwxrwx 1 inpoc inpoc 28 2005-03-02 18:06 gfx -> >> ../../www.inpoc.no/ROOT/gfx/ >> drwxr-xr-x 2 inpoc inpoc 4096 2004-10-27 14:11 gfx.wap >> lrwxrwxrwx 1 inpoc inpoc 26 2005-03-02 18:06 globalgfx -> >> ../../../global/globalgfx/ >> lrwxrwxrwx 1 inpoc inpoc 31 2005-03-02 18:06 globalincludes -> >> ../../../global/globalincludes/ >> drwxrwxr-x 2 inpoc inpoc 4096 2005-03-08 11:12 golive.inpoc.ee >> drwxrwxr-x 2 inpoc inpoc 4096 2005-03-08 11:12 golive.inpoc.lt >> drwxrwxr-x 2 inpoc inpoc 4096 2005-03-08 11:12 goliverus.inpoc.ee >> drwxrwxr-x 2 inpoc inpoc 4096 2005-03-08 11:12 goliverus.inpoc.lt >> drwxr-xr-x 2 inpoc inpoc 4096 2004-09-08 23:09 hei.inpoc.ee >> -rw-r--r-- 1 inpoc inpoc 381 2005-03-21 14:27 help.vsp >> -rw-r--r-- 1 inpoc inpoc 2232 2005-03-21 14:27 help.wap.vsp >> drwxr-xr-x 2 inpoc inpoc 4096 2004-11-09 13:33 ieskok.inpoc.lt >> lrwxrwxrwx 1 inpoc inpoc 33 2005-03-02 18:06 includes -> >> ../../www.inpoc.no/ROOT/includes/ >> -rw-r--r-- 1 inpoc inpoc 412 2005-03-21 14:27 index.vsp >> -rw-r--r-- 1 inpoc inpoc 1027 2004-09-08 23:09 index.wap.vsp >> drwxrwxr-x 3 inpoc inpoc 4096 2004-12-21 16:07 inpoc.delfi.ee >> drwxr-xr-x 2 inpoc inpoc 4096 2004-09-24 13:45 kangazoo.inpoc.lv >> drwxr-x--- 11 inpoc inpoc 4096 2005-01-17 15:49 localgfx >> -rw-r--r-- 1 inpoc inpoc 27 2005-03-21 14:27 logos.vsp >> -rw-r--r-- 1 inpoc inpoc 1081 2005-03-21 14:27 logos.wap.vsp >> -rw-r----- 1 inpoc inpoc 351 2005-03-21 14:27 logos.web.vsp >> lrwxrwxrwx 1 inpoc inpoc 23 2005-03-02 18:06 macros -> >> ../../../global/macros/ >> -rw-r--r-- 1 inpoc inpoc 38 2005-03-21 14:27 menu.vsp >> drwxr-xr-x 2 inpoc inpoc 4096 2004-10-20 09:56 mixfm.inpoc.lv >> drwxrwxr-x 2 inpoc inpoc 4096 2004-12-22 12:24 mobiil.delfi.ee >> -rw-r--r-- 1 inpoc inpoc 27 2005-03-21 14:27 mobilegames.vsp >> -rw-r--r-- 1 inpoc inpoc 1292 2005-03-21 14:27 mobilegames.wap.vsp >> -rw-r----- 1 inpoc inpoc 1356 2005-03-21 14:27 mobilegames.web.vsp >> drwxrwxr-x 2 inpoc inpoc 4096 2005-03-08 11:13 omni.inpoc.lt >> drwxrwxr-x 2 inpoc inpoc 4096 2005-03-08 11:13 omnirus.inpoc.lt >> drwxr-x--- 4 inpoc inpoc 4096 2004-11-24 11:23 partners >> -rw-r----- 1 inpoc inpoc 2162 2005-03-21 14:28 >> phonecontent.browse.wap.vsp >> -rw-r----- 1 inpoc inpoc 1280 2005-03-21 14:28 >> phonecontent.first.wap.vsp >> -rw-r----- 1 inpoc inpoc 1145 2005-03-21 14:28 >> phonecontent.search.wap.vsp >> -rw-r----- 1 inpoc inpoc 346 2005-03-21 14:28 phonecontent.vsp >> -rw-r----- 1 inpoc inpoc 994 2005-03-21 14:28 phonecontent.xml.vsp >> -rw-r--r-- 1 inpoc inpoc 27 2005-03-21 14:28 picturemessages.vsp >> -rw-r--r-- 1 inpoc inpoc 1141 2005-03-21 14:28 picturemessages.wap.vsp >> -rw-r----- 1 inpoc inpoc 370 2005-03-21 14:28 picturemessages.web.vsp >> drwxrwxr-x 2 inpoc inpoc 4096 2005-02-23 09:15 point.inpoc.lt >> drwxrwxr-x 2 inpoc inpoc 4096 2005-02-23 09:15 rate.inpoc.ee >> -rw-rw-r-- 1 inpoc inpoc 1578 2005-03-21 14:28 reg.vsp >> -rw-r--r-- 1 inpoc inpoc 27 2005-03-21 14:28 ringtones.vsp >> -rw-r--r-- 1 inpoc inpoc 1640 2005-03-21 14:28 ringtones.wap.vsp >> -rw-r----- 1 inpoc inpoc 785 2005-03-21 14:28 ringtones.web.vsp >> drwxrwxr-x 2 inpoc inpoc 4096 2005-02-23 09:29 rus.inpoc.ee >> drwxrwxr-x 2 inpoc inpoc 4096 2005-03-04 13:36 rus.inpoc.lt >> drwxr-x--- 2 inpoc inpoc 4096 2004-12-09 12:45 rus.inpoc.lv >> -rw-r--r-- 1 inpoc inpoc 12316 2004-10-27 14:11 searchresult.vsp >> -rw-r----- 1 inpoc inpoc 331 2005-03-21 14:28 services.vsp >> lrwxrwxrwx 1 inpoc inpoc 23 2005-03-02 18:06 static -> >> ../../../global/static/ >> drwxr-xr-x 5 inpoc inpoc 4096 2005-03-08 11:14 templates >> -rw-r----- 1 inpoc inpoc 625 2004-11-25 21:40 test2.wap.vsp >> -rw-rw-r-- 1 inpoc inpoc 1210 2005-03-21 14:29 test.ee.wap.vsp >> -rw-rw-r-- 1 inpoc inpoc 1218 2005-03-21 14:29 test.lt.wap.vsp >> -rw-rw-r-- 1 inpoc inpoc 1212 2005-03-21 14:29 test.lv.wap.vsp >> -rw-r----- 1 inpoc inpoc 3332 2004-11-03 18:26 test.vsp >> -rw-r--r-- 1 inpoc inpoc 658 2005-03-21 14:29 test.wap.vsp >> -rw-r----- 1 inpoc inpoc 388 2004-11-22 14:52 textservices.vsp >> -rw-r----- 1 inpoc inpoc 1515 2005-03-21 14:29 textsms.vsp >> -rw-r--r-- 1 inpoc inpoc 27 2005-03-21 14:29 voicemessages.vsp >> -rw-r----- 1 inpoc inpoc 851 2005-03-21 14:29 voicemessages.wap.vsp >> -rw-r----- 1 inpoc inpoc 403 2005-03-21 14:29 voicemessages.web.vsp >> -rw-r--r-- 1 inpoc inpoc 27 2005-03-21 14:29 wallpapers.vsp >> -rw-r--r-- 1 inpoc inpoc 775 2005-03-21 14:29 wallpapers.wap.vsp >> -rw-r----- 1 inpoc inpoc 365 2005-03-21 14:29 wallpapers.web.vsp >> drwxr-x--- 3 inpoc inpoc 4096 2004-11-24 19:02 wapdc >> drwxr-xr-x 2 inpoc inpoc 4096 2004-12-01 11:59 wap.inpoc >> drwxr-xr-x 2 inpoc inpoc 4096 2005-03-08 11:14 wap.inpoc.ee >> drwxr-xr-x 2 inpoc inpoc 4096 2004-10-29 15:50 wap.inpoc.lt >> drwxr-xr-x 2 inpoc inpoc 4096 2004-10-27 17:57 wap.inpoc.lv >> drwxrwxr-x 2 inpoc inpoc 4096 2005-03-08 11:14 waprus.inpoc.ee >> drwxrwxr-x 2 inpoc inpoc 4096 2005-03-08 11:15 waprus.inpoc.lt >> drwxrwxr-x 5 inpoc inpoc 4096 2004-11-25 15:37 WEB-INF >> drwxr-xr-x 2 inpoc inpoc 4096 2004-09-24 13:50 www.inpoc >> drwxrwxr-x 4 inpoc inpoc 4096 2005-02-06 21:06 www.inpoc.ee >> drwxr-xr-x 3 inpoc inpoc 4096 2004-11-30 14:27 www.inpoc.lt >> drwxr-xr-x 2 inpoc inpoc 4096 2004-12-02 19:59 www.inpoc.lv >> 226 Transfer complete. >> ftp> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org > For additional commands, e-mail: commons-dev-help@jakarta.apache.org > -- ===================================================================== Jeffrey D. Brekke jbrekke@wi.rr.com Wisconsin, USA brekke@apache.org ekkerbj@yahoo.com http://www.bloglines.com/blog/jbrekke ekkerbj@gmail.com --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org