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 <[EMAIL PROTECTED]> wrote:
> 
> ----- Original Message -----
> From: "EXT / FOCAL MALAPRADE Roland"
> <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> 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:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 


__________________________________________________
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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to