Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 25481 invoked from network); 27 Feb 2004 20:26:12 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 27 Feb 2004 20:26:12 -0000 Received: (qmail 93900 invoked by uid 500); 27 Feb 2004 20:25:53 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 93860 invoked by uid 500); 27 Feb 2004 20:25:52 -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 93847 invoked from network); 27 Feb 2004 20:25:52 -0000 Received: from unknown (HELO barrierb241.nike.com) (146.197.27.40) by daedalus.apache.org with SMTP; 27 Feb 2004 20:25:52 -0000 X-Server-Uuid: F122D6CD-24F0-4253-8986-549FB7942DF9 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Subject: RE: Urgent Please help with invoking ftp client on windows with ant Date: Fri, 27 Feb 2004 12:25:50 -0800 Message-ID: <200402272025.i1RKPvQQ026567@barrierb241.nike.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Urgent Please help with invoking ftp client on windows with ant Thread-Index: AcP86Zpj/5lDjizqTAuPqlc/yK/oEgAhjhVA From: "Anderson, Rob (Global Trade)" To: "Ant Users List" X-OriginalArrivalTime: 27 Feb 2004 20:25:50.0526 (UTC) FILETIME=[E4055DE0:01C3FD6F] X-WSS-ID: 6C2178445730-01-01 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable 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 You might want to try the sshexec task, if the remote host is running = sshd. -Rob Anderson > -----Original Message----- > From: Majumdar, Anamitra [mailto:amajumda@visa.com] > Sent: Thursday, February 26, 2004 12:05 PM > To: 'user@ant.apache.org' > Subject: Urgent Please help with invoking ftp client on=20 > windows with ant >=20 >=20 >=20 >=20 >=20 > I am not able to use ant FTP task because it does not support=20 > the rename action but I need this action.I am using ant 1.6. > The ftp script that I am using is as follows >=20 > echo %1 %2 > FTP -d -s:Outgoing-TC-Compressed.ftp 10.200.141.143 >faftp.log > which is in a windows bat file >=20 >=20 > The contents of Outgoing-TC-Compressed is > ftp > nfd > status > binary > put ftphdr.@@@ /dev/tfs/BiiColComReq > put ftpdat.@@@ /dev/tfs/BiiColCom > rename /dev/tfs/BiiColCom /dev/tfs/END > quit > =1A >=20 > Even when I am running the bat file from ant it does not work. > Please suggest. >=20 >=20 > Thanks > Anamitra > *650-432-4696 >=20 >=20 > -----Original Message----- > From: Matt Benson [mailto:gudnabrsam@yahoo.com] > Sent: Thursday, February 26, 2004 11:54 AM > To: Ant Developers List > Subject: Re: Urgent Please help with invoking ftp client on=20 > windows with > ant >=20 >=20 > --- "Majumdar, Anamitra" wrote: > > Can somebody tell me how do I call windows ftp > > client shell from and using the exec or apply task > >=20 > > I am using syntax > >=20 > > > dir=3D"${Outgoing.Input.Directory}/ftp"=20 > > executable=3D"c:/winnt/system32/ftp.exe " > > > > > > >=20 >=20 > This will not work. In theory you could use a script > with your FTP executable for this, but the optional > task would probably serve you better. In either > case this is a question for the user list, not the > developer list. >=20 > -Matt >=20 >=20 > __________________________________ > Do you Yahoo!? > Get better spam protection with Yahoo! Mail. > http://antispam.yahoo.com/tools >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org > For additional commands, e-mail: dev-help@ant.apache.org >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org >=20 >=20 >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org