ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: FTP Optional task on GET action - is changing files' last modified date
Date Wed, 11 Sep 2002 18:41:34 GMT
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 <steve_l@iseran.com> wrote:
> 
> ----- Original Message -----
> From: "EXT / FOCAL MALAPRADE Roland"
> <ext.focal.malaprade@sncf.fr>
> To: <ant-user@jakarta.apache.org>
> 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 <copy> 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:  
> <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:ant-user-help@jakarta.apache.org>
> 


__________________________________________________
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:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message