ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conelly, Luis (GE Energy, Non GE, GENE)" <Luis1.Cone...@ge.com>
Subject RE: Copying files through FTP to servers in different timezones
Date Fri, 18 Mar 2005 18:08:16 GMT
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: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de]
Sent: Friday, March 18, 2005 11:49 AM
To: user@ant.apache.org
Subject: AW: Copying files through FTP to servers in different timezones


Do you know the <modified> selector?

Jan

> -----Ursprüngliche Nachricht-----
> Von: Conelly, Luis (GE Energy, Non GE, GENE)
> [mailto:Luis1.Conelly@ge.com]
> 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
> __________________
> <target name="ftp">
>         <ftp server="${ftp.server}" userid="${ftp.user}"
> password="${ftp.pwd}"
>              verbose="${verbose}" newer="yes" passive="${passive}"
>              skipfailedtransfers="${skip.failed}"
>              remotedir="${remote.dir}">
>              <fileset dir="${local.dir}"
>                       includes="${includes.list}"
>                       excludes="${excludes.list}"/>
>         </ftp>
>         <echo> Files from ${local.dir} were updated to 
> ${remote.dir} at
> ${ftp.server} server</echo>
> </target>
> __________________
> 
> 	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: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message