Return-Path: Mailing-List: contact user-help@ant.apache.org; run by ezmlm Delivered-To: mailing list user@ant.apache.org Received: (qmail 69316 invoked from network); 20 May 2003 17:19:01 -0000 Received: from bay2-f172.bay2.hotmail.com (HELO hotmail.com) (65.54.247.172) by daedalus.apache.org with SMTP; 20 May 2003 17:19:01 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 20 May 2003 10:19:04 -0700 Received: from 208.204.155.241 by by2fd.bay2.hotmail.msn.com with HTTP; Tue, 20 May 2003 17:19:04 GMT X-Originating-IP: [208.204.155.241] X-Originating-Email: [smalisetti@hotmail.com] From: "Sagar Malisetti" To: user@ant.apache.org Bcc: Subject: FTP task with ant 1.5.3 Date: Tue, 20 May 2003 13:19:04 -0400 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 20 May 2003 17:19:04.0742 (UTC) FILETIME=[E9F32C60:01C31EF3] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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