ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sagar Malisetti" <smalise...@hotmail.com>
Subject FTP task with ant 1.5.3
Date Tue, 20 May 2003 17:19:04 GMT
Hi,

Below is the error I am getting, when I try to upload a file to ftp server. 
I would greatly appreciate, If any one can let me know, if there is anything 
else to be done.

Thanks
- Malisetti

C:\buildfiles\Test Drive>ant -v
Apache Ant version 1.5.3 compiled on April 16 2003
Buildfile: build.xml
Detected Java version: 1.4 in: C:\Sun\AppServer7\jdk\jre
Detected OS: Windows_NT
parsing buildfile build.xml with URI = file:C:/buildfiles/Test 
Drive/build.xml
Project base dir set to: C:\buildfiles\Test Drive
Build sequence for target `testftp' is [testftp]
Complete build sequence is [testftp]

testftp:
      [ftp] Opening FTP connection to vienna.putnaminv.com
      [ftp] connected
      [ftp] logging in to FTP server
      [ftp] login succeeded
      [ftp] sending files
      [ftp] transferring C:\buildfiles\Test Drive\upload\NetComponents.jar
      [ftp] disconnecting

BUILD FAILED
file:C:/buildfiles/Test Drive/build.xml:10: error during FTP transfer: 
java.io
OException: Host attempting data connection 172.28.129.133 is not same as 
serv
172.28.129.51
        at 
org.apache.tools.ant.taskdefs.optional.net.FTP.execute(FTP.java:101

        at org.apache.tools.ant.Task.perform(Task.java:341)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:336)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
        at org.apache.tools.ant.Main.runBuild(Main.java:609)
        at org.apache.tools.ant.Main.start(Main.java:196)
        at org.apache.tools.ant.Main.main(Main.java:235)

_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail


Mime
View raw message