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

Reply via email to