Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 42296 invoked from network); 11 Sep 2002 18:41:42 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 11 Sep 2002 18:41:42 -0000 Received: (qmail 29634 invoked by uid 97); 11 Sep 2002 18:42:11 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 29580 invoked by uid 97); 11 Sep 2002 18:42:10 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 29567 invoked by uid 98); 11 Sep 2002 18:42:10 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <20020911184134.98528.qmail@web20416.mail.yahoo.com> Date: Wed, 11 Sep 2002 11:41:34 -0700 (PDT) From: Matt Benson Subject: Re: FTP Optional task on GET action - is changing files' last modified date To: Ant Users List In-Reply-To: <014d01c259b4$13c729c0$1219570f@ranier> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Okay, I have cooked up a patch that adds the preservelastmodified attribute to the ftp task. I even updated the manual page by copying the table row from the copy task. :) Now what do I do with it? -Matt --- Steve Loughran wrote: > > ----- Original Message ----- > From: "EXT / FOCAL MALAPRADE Roland" > > To: > Sent: Wednesday, September 11, 2002 9:28 AM > Subject: FTP Optional task on GET action - is > changing files' last modified > date > > > > Hi, > > > > I am using the FTP task to retrieve files and it > works fine, but when I > look > > at the files' last modified date, they are set to > the date/time of > transfer. > > I actually need the last modified date of the > files to decide if they are > OK > > or not. > > I noticed the task has an attribute > "preservelastmodified", which > is > > what i'm basically looking for. > > > > I've read the manual, searched through old > ant-user mail archive, and > > searched the Web, but haven't found anything. > > Sounds like you may have to look at the ftp source > to see if it is trying to > set the dates. > > > > > Is it maybe dependant on the FTP server (I'll have > to admit I don't know > > which server software it is running)? > > > WinNT's version of FTP is trouble unless you > configure it to use a Unix > directory listing > > > -- > To unsubscribe, e-mail: > > For additional commands, e-mail: > > __________________________________________________ Yahoo! - We Remember 9-11: A tribute to the more than 3,000 lives lost http://dir.remember.yahoo.com/tribute -- To unsubscribe, e-mail: For additional commands, e-mail: