ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Srivastava, Abhinav" <asriv...@amgen.com>
Subject Problem FTPing files
Date Fri, 12 Mar 2004 23:21:02 GMT
I am trying to use FTP task of Ant. I get this error - any clues??


ant FTP -verbose
Apache Ant version 1.6.1 compiled on February 12 2004
Buildfile: build.xml
Detected Java version: 1.4 in: C:\bea\jdk141_05\jre
Detected OS: Windows 2000
parsing buildfile F:\CMA 2.0\Code\build.xml with URI =
file:///F:/CMA%202.0/Code
/build.xml
Project base dir set to: F:\CMA 2.0\Code
Build sequence for target `FTP' is [FTP]
Complete build sequence is [FTP, ZIP, INIT, PVCS, REQPRO, default, ]

FTP:
      [ftp] Opening FTP connection to 203.197.109.17
      [ftp] connected
      [ftp] logging in to FTP server
      [ftp] login succeeded
      [ftp] changing the remote directory
      [ftp] sending files
      [ftp] disconnecting

BUILD FAILED
F:\CMA 2.0\Code\build.xml:46: error during FTP transfer:
java.io.IOException: Ho
st attempting data connection 138.133.16.26 is not same as server
203.197.109.17

        at
org.apache.tools.ant.taskdefs.optional.net.FTP.execute(FTP.java:2020)

        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:301)
        at org.apache.tools.ant.Target.performTasks(Target.java:328)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1215)

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


Mime
View raw message