ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From EXT / FOCAL MALAPRADE Roland <ext.focal.malapr...@sncf.fr>
Subject RE: FTP Optional task on GET action - is changing files' last mod ified date
Date Thu, 12 Sep 2002 08:02:55 GMT
Thanks I'll try look through the source and see what I can find...

Roland

-----Message d'origine-----
De : Steve Loughran [mailto:steve_l@iseran.com]
Envoyé : mercredi 11 septembre 2002 18:56
À : Ant Users List
Objet : Re: FTP Optional task on GET action - is changing files' last
modified date



----- 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>

--
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