Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2015E3E0B for ; Fri, 6 May 2011 09:48:43 +0000 (UTC) Received: (qmail 1505 invoked by uid 500); 6 May 2011 09:48:42 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 1453 invoked by uid 500); 6 May 2011 09:48:42 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 1444 invoked by uid 99); 6 May 2011 09:48:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 May 2011 09:48:42 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 May 2011 09:48:41 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 4784EC3345 for ; Fri, 6 May 2011 09:48:03 +0000 (UTC) Date: Fri, 6 May 2011 09:48:03 +0000 (UTC) From: "Sebb (JIRA)" To: issues@commons.apache.org Message-ID: <1275758103.27768.1304675283289.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <120770333.23267.1304553603841.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (NET-407) Change lenientFutureDates to default to true MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/NET-407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sebb resolved NET-407. ---------------------- Resolution: Fixed Fix Version/s: 3.0 > Change lenientFutureDates to default to true > -------------------------------------------- > > Key: NET-407 > URL: https://issues.apache.org/jira/browse/NET-407 > Project: Commons Net > Issue Type: Improvement > Components: FTP > Affects Versions: 2.2 > Reporter: Sebb > Fix For: 3.0 > > > [See http://mail-archives.apache.org/mod_mbox/commons-dev/201105.mbox/%3CBANLkTi=b9kg-KpTGtHo2Op4cUt2dT1HTig@mail.gmail.com%3E] > NET-83 added an option to allow dates to be up to 1 day in the future, but this is not the default. > This means that FTP will assume the wrong year when listing recent files which are on servers with a clock which is ahead of the client. > This includes servers in a different timezone (unless the user specifies the server timezone) - e.g. client in US listing files on a server in the UK. > As far as I can tell, Unix servers use short dates for dates within about +/- 6 months of the current date, so this should not cause any > problems. But of course it is possible that some servers use short dates for past dates only. > The behaviour of FTP parsing is likely to be improved overall by changing the default to allow dates up to 1 day into the future. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira