Return-Path: Mailing-List: contact user-help@ant.apache.org; run by ezmlm Delivered-To: mailing list user@ant.apache.org Received: (qmail 67706 invoked from network); 20 May 2003 17:53:44 -0000 Received: from bay2-f100.bay2.hotmail.com (HELO hotmail.com) (65.54.247.100) by daedalus.apache.org with SMTP; 20 May 2003 17:53:44 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 20 May 2003 10:53:48 -0700 Received: from 208.204.155.241 by by2fd.bay2.hotmail.msn.com with HTTP; Tue, 20 May 2003 17:53:48 GMT X-Originating-IP: [208.204.155.241] X-Originating-Email: [smalisetti@hotmail.com] From: "Sagar Malisetti" To: user@ant.apache.org Bcc: Subject: RE: FTP task with ant 1.5.3 Date: Tue, 20 May 2003 13:53:48 -0400 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 20 May 2003 17:53:48.0798 (UTC) FILETIME=[C424E1E0:01C31EF8] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Thanks for your quick response. Yes it does have multiple IP address on that machine. I tried using 172.28.129.51 (I am not sure if the ftp server's ip address) and got the same error. Thanks Sagar >From: "Bin Chen" >Reply-To: "Ant Users List" >To: "Ant Users List" >Subject: RE: FTP task with ant 1.5.3 >Date: Tue, 20 May 2003 10:37:19 -0700 > >Do you have multiple IP addresses on that machine? If you do, you can try >to >use IP address instead of the machine name for the FTP task. > >-----Original Message----- >From: Sagar Malisetti [mailto:smalisetti@hotmail.com] >Sent: Tuesday, May 20, 2003 10:19 AM >To: user@ant.apache.org >Subject: FTP task with ant 1.5.3 > > >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 > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >For additional commands, e-mail: user-help@ant.apache.org > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >For additional commands, e-mail: user-help@ant.apache.org > _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail