ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jay Eskandarian" <jay.eskandar...@synchronoss.com>
Subject FTP - Could not date test remote file - Transfers all
Date Wed, 08 May 2002 14:43:37 GMT
Enviromment:
ant	1.4
jdk	1.4
os:	win2k
ftpserver:	microsoft ftp service (Version 5.0)

When using ftp to transfer a webapp, ant always transfers all files regardless of datestamp.

To diagnose, I run ant with -verbose option and the message the ftp task returns for each
file is:
"Could not date test remote file: controller.jspassuming out of date." So it is obvious what
the problem is but does anyone have a possible solution??

Here is the ftp task I'm using. 
I tried it with and without the passive option. I also removed the userID/password for obvious
reasons.


        <ftp server="med-engineering.com" userid="XXXX" password="XXXXX"
                depends="yes" remotedir="med-engineering.com\test"
                passive="yes" verbose="yes">
            <fileset dir="${webapp.dir}">
                <include name="**\*.*"/>
                <exclude name="**\*.log"/>
                <exclude name="WEB-INF\work\**\*.*"/>
                <exclude name="**\*.war"/>
                <exclude name="**\*.*~"/>
                <exclude name="**\*.bak"/>
                <exclude name="**\package cache\*.*"/>
                <exclude name="**\*.jar"/>
            </fileset>
        </ftp>
- Jay Eskandarian 



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