Thanks, Jan! After the first time creating the cache, works like a charm.
After I read the manual, I changed the previous target for:
__________________
<ftp server="${ftp.server}" userid="${ftp.user}"
password="${ftp.pwd}"
verbose="${verbose}" passive="${passive}"
skipfailedtransfers="${skip.failed}"
remotedir="${remote.dir}">
<fileset dir="${local.dir}"
includes="${includes.list}"
excludes="${excludes.list}">
<modified/>
</fileset>
</ftp>
__________________
As you can see, almost nothing changes but:
1. Get rid of [newer="yes"] part on the FTP target
2. Include the <modified/> selector within the <fileset> (I didn't even have
to change the includes / excludes list)
3. Done
Thanks for the pointer.
-Luis
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, March 18, 2005 12:08 PM
To: [email protected]
Subject: AW: Copying files through FTP to servers in different timezones
You have to know, that we have a B2B (brain-to-brain) connection :-)
Jan
> -----Urspr�ngliche Nachricht-----
> Von: Ninju Bohra [mailto:[EMAIL PROTECTED]
> Gesendet am: Freitag, 18. M�rz 2005 19:04
> An: Ant Users List
> Betreff: RE: Copying files through FTP to servers in
> different timezones
>
> Anybody notice that Jan.Materne replys appeared before Luis
> Conelly questions??
>
> "Conelly, Luis (GE Energy, Non GE, GENE)"
> <[EMAIL PROTECTED]> wrote:Thanks, Jan. I should've RTFM
> (read the fine manual, of course;) before call
> for help.
> Anyway, something new to learn.
>
> -Luis
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 18, 2005 11:49 AM
> To: [email protected]
> Subject: AW: Copying files through FTP to servers in
> different timezones
>
>
> Do you know the selector?
>
> Jan
>
> > -----Urspr�ngliche Nachricht-----
> > Von: Conelly, Luis (GE Energy, Non GE, GENE)
> > [mailto:[EMAIL PROTECTED]
> > Gesendet am: Freitag, 18. M�rz 2005 18:54
> > An: Ant Users List
> > Betreff: Copying files through FTP to servers in different timezones
> >
> > Hi all,
> >
> > I have the following target
> > __________________
> >
> > > password="${ftp.pwd}"
> > verbose="${verbose}" newer="yes" passive="${passive}"
> > skipfailedtransfers="${skip.failed}"
> > remotedir="${remote.dir}">
> > > includes="${includes.list}"
> > excludes="${excludes.list}"/>
> >
> > Files from ${local.dir} were updated to
> > ${remote.dir} at
> > ${ftp.server} server
> >
> > __________________
> >
> > To copy my files to my DEV server, which is setup with
> > a different
> > Timezone than mine (EST vs CST). When I locally compile a
> > class or update a
> > web file (.js*, .css, etc), I just want to upload the
> newest versions;
> > however, since the server is ALWAYS 1 hour ahead of my time,
> > the files get
> > NEWER than the versions on the server when the timestamps for
> > the files are
> > from a day before or so, but never when I try to update
> > several times the
> > very same day.
> >
> > I know that changing my workstation's timezone would
> > fix the issue,
> > but I'd like to know if there's something I can do to avoid
> > this annoying
> > and useless behavior.
> >
> > Any pointers or suggestions are welcome.
> >
> > Regards.
> > Luis
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Small Business - Try our new resources site!
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]