ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ylan Segal" <y...@digiworks.tv>
Subject RE: Ant is FTPing all files, rather than just the latest updates
Date Thu, 24 Jan 2002 15:51:09 GMT
Have you checked the time in the server and your machine? If the clocks are
mest up, your machine may think that all files are new.

Ylan Segal.

> -----Original Message-----
> From: Kent Roylance [mailto:roylance3@attbi.com]
> Sent: Thursday, January 24, 2002 8:27 AM
> To: Ant Users List
> Subject: Ant is FTPing all files, rather than just the latest updates
>
>
> I cannot figure out how to get Ant to only upload files that have changed.
> I have tried a number of combinations using depends and newer and none of
> them seem to work.  I am uploading from a win2k client to a win2k
> server.  I
> can run this script several times in one setting, and it uploads the same
> files over and over again.  I would think after the file is uploaded the
> first time, it wouldn't upload again until it has changed either on the
> server or the client.  I am using Ant 1.4.1.
>
> 	<target name="ftp_upload">
> 		<ftp server="652.893.239.18"
> 			remotedir="/java/info"
> 			userid="user"
> 			password="password"
> 			binary="no"
> 			depends="yes"
> 			newer="yes"
> 			verbose="yes">
> 			<fileset dir=".">
> 				<include name="**/*.htm"/>
> 			</fileset>
> 		</ftp>
> 	</target>
>
> Appreciate any help on this,
>
> Kent
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.310 / Virus Database: 171 - Release Date: 12/19/2001
>
>
> --
> 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