Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 18789 invoked from network); 29 Feb 2008 23:43:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Feb 2008 23:43:29 -0000 Received: (qmail 50164 invoked by uid 500); 29 Feb 2008 23:43:11 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 50136 invoked by uid 500); 29 Feb 2008 23:43:11 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 50125 invoked by uid 99); 29 Feb 2008 23:43:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Feb 2008 15:43:11 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of adam.gordon@readytalk.com designates 208.50.222.178 as permitted sender) Received: from [208.50.222.178] (HELO apollo.readytalk.com) (208.50.222.178) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Feb 2008 23:42:26 +0000 Received: from [192.168.1.45] ([192.168.1.45]) by apollo.readytalk.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 29 Feb 2008 16:42:22 -0700 Message-ID: <47C8986F.4010108@readytalk.com> Date: Fri, 29 Feb 2008 16:42:39 -0700 From: Adam Gordon User-Agent: Thunderbird 2.0.0.12 (X11/20080227) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Leap-year problem with commons-net References: <47C8469C.1030108@verizon.net> <47C85CB9.7060706@readytalk.com> <47C86125.8040908@verizon.net> <47C862FA.7080200@readytalk.com> <47C8649E.5020004@verizon.net> In-Reply-To: <47C8649E.5020004@verizon.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 29 Feb 2008 23:42:22.0968 (UTC) FILETIME=[BB357780:01C87B2C] X-Virus-Checked: Checked by ClamAV on apache.org I mean a cron job to touch the files and change the date.... David kerber wrote: > The problem is that ftp.getfiles won't even retrieve the files from > the server! It sees them as invalid because of the date issue. So I > have to retrieve them manually. Yeah, I could script up that part as > well, but I don't think it's worth it for now. > > > Adam Gordon wrote: >> Dave- >> >> Just set a cron job to do it every minute or (some other interval) >> and then you don't have to worry about it - just don't forget to >> remove the job tonight. >> >> --adam >> >> David kerber wrote: >>> Yeah, that's what I've done so far today, but the files come in >>> continuously throughout the day for a total of 1000 or so, and we >>> need to process them as they come in, so I've been letting them >>> build up and doing it every hour or so. It's a pain, and I hope >>> they get this fixed sometime before the next leap year (and enough >>> before it that I have time to implement and test it!!!) >>> >>> D >>> >>> >>> Adam Gordon wrote: >>>> Short of downloading/patching the source code and redeploying, just >>>> a stab in the dark here, but maybe just execute "touch -d " >>>> in the offending directory/directories. There's no recursive flag >>>> though, bummer. At least it'll only be a problem for 12 more hours >>>> (MST). >>>> >>>> HTH, >>>> >>>> --adam >>>> >>>> David kerber wrote: >>>>> I have found that the commons-net ftp.listfiles() fails to get >>>>> files whose date on the server is on feb 29. Googling indicates >>>>> that this a known problem (at least since this morning), but I >>>>> haven't found a quick fix. Does anybody know of one? >>>>> >>>>> D >>>>> >>>>> >>>>> >>>>> --------------------------------------------------------------------- >>>>> To start a new topic, e-mail: users@tomcat.apache.org >>>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org >>>>> For additional commands, e-mail: users-help@tomcat.apache.org >>>>> >>>> >>>> --------------------------------------------------------------------- >>>> To start a new topic, e-mail: users@tomcat.apache.org >>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org >>>> For additional commands, e-mail: users-help@tomcat.apache.org >>>> >>>> >>>> >>> >>> >>> >>> --------------------------------------------------------------------- >>> To start a new topic, e-mail: users@tomcat.apache.org >>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org >>> For additional commands, e-mail: users-help@tomcat.apache.org >>> >> >> --------------------------------------------------------------------- >> To start a new topic, e-mail: users@tomcat.apache.org >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org >> For additional commands, e-mail: users-help@tomcat.apache.org >> >> >> > > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org