Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 82860 invoked from network); 17 Dec 2003 19:45:21 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 17 Dec 2003 19:45:21 -0000 Received: (qmail 78406 invoked by uid 500); 17 Dec 2003 19:45:03 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 78377 invoked by uid 500); 17 Dec 2003 19:45:02 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 78359 invoked from network); 17 Dec 2003 19:45:02 -0000 Received: from unknown (HELO 137100.vserver.de) (62.75.137.100) by daedalus.apache.org with SMTP; 17 Dec 2003 19:45:02 -0000 Received: from antbuild.com (localhost.localdomain [127.0.0.1]) by 137100.vserver.de (8.11.6/8.11.6) with ESMTP id hBHJj0W21864 for ; Wed, 17 Dec 2003 20:45:00 +0100 Message-ID: <3FE0B1E0.5090603@antbuild.com> Date: Wed, 17 Dec 2003 20:43:28 +0100 From: =?ISO-8859-1?Q?Antoine_L=E9vy-Lambert?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Users List Subject: Re: Issue with FTP task. References: <42C9EFEA1737D511BA420008C78641510C2BCD78@ncwlmx01nege.wilm.ge.com> In-Reply-To: <42C9EFEA1737D511BA420008C78641510C2BCD78@ncwlmx01nege.wilm.ge.com> X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Luis, can you run the build in verbose mode ? if the transfer fails, ant should then output this : "could not put file" + ftp reply string Cheers, Antoine Conelly, Luis (PS, GNF, Contractor) wrote: >Hi all, > > I am trying to update my classes to my DEV server (Sun 5.8 box) from my workstation. I have following targets to do this task: > >-------------- > > > > > > > > > fork="yes" > executable="${jdk13.home}/bin/javac.exe" > listfiles="yes"> > > > > > > > > > > userid="${ftp.user}" password="${ftp.pwd}" > verbose="yes" remotedir="${ftp.class.home}" > passive="yes"> > > > > > >----------------- > > The files get compiled, the inside task works fine, since selects just the compiled files, but the FTP task does not upload the files. Just seems to do it. First I thought it was a permissions issue, but I am using the same user / pwd with other FTP tool and it works fine. Then, I thought it was the task did not recognize newest files, so I droped the files from the server and executed again the target. Nothing happened... the file wasn't uploaded. > > I am pretty sure the task works fine, because I am using other target to update my source files and some jars and they do fine. Just for this target is not working > > I have tried with *passive* attribute (as currently is) and nothing happened.... I am not through a firewall and my other tool does not need to use a proxy to connect to the DEV server. > > Following are my settings for my workstation: > > os: Win2K SP1 > JDK: 1.4.1_02 > Ant: 1.6beta2 > > A typicall output looks like: > >---------- >C:\Projects>ant compile >Buildfile: build.xml > >initFormatted: > >compile: > [javac] Compiling 2 source files to C:\Projects\src > [javac] C:\Projects\src\a\e\i\Class1.java > [javac] C:\Projects\src\a\e\i\Class2.java > > > >updateCompiled: > [echo] updating class files to /my/path/to/classes > [ftp] sending files > [ftp] transferring C:\Projects\src\a\e\i\Class1.class > [ftp] transferring C:\Projects\src\a\e\i\Class2.class > [ftp] 2 files sent > >BUILD SUCCESSFUL >Total time: 20 seconds >---------- > > Any clue / hint / help will be appreciated / welcome. > >Regards >-Luis > >PS. Sorry for the long mail > >_______________________ >Luis G. Conelly >Contractor > >Global Nuclear Fuel >A join venture of GE, Toshiba & Hitachi >Ph. (+52) 449-910-7800 ext. 7308 >Mobile (+52) 449-123-8749 >DialComm. *879-7308 >Fax (+52)449-910-7801 >e-mail Luis.Conelly@gnf.com >SameTime: Luis Conelly/PS/GeneralElectric >"The information contained in this transmission is non-public, is the confidential, proprietary information of GE Nuclear Energy and / or Global Nuclear Fuel and / or any of its subsidiaries. In addition to any other restrictions that may be imposed by Confidentiality or Non-Disclosure Agreements between GE Nuclear Energy and / or Global Nuclear Fuel and the recipient, may not be disclosed, copied or used for other than its intended purpose without written permission from GE Nuclear Energy and / or Global Nuclear Fuel and / or any of its subsidiaries. > > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org