I am not able to use ant FTP task because it does not support the rename action but I need this action.I am using ant 1.6. The ftp script that I am using is as follows
echo %1 %2 FTP -d -s:Outgoing-TC-Compressed.ftp 10.200.141.143 >faftp.log which is in a windows bat file 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 Even when I am running the bat file from ant it does not work. Please suggest. Thanks Anamitra *650-432-4696 -----Original Message----- From: Matt Benson [mailto:[EMAIL PROTECTED] Sent: Thursday, February 26, 2004 11:54 AM To: Ant Developers List Subject: Re: Urgent Please help with invoking ftp client on windows with ant --- "Majumdar, Anamitra" <[EMAIL PROTECTED]> wrote: > Can somebody tell me how do I call windows ftp > client shell from and using the exec or apply task > > I am using syntax > > <exec > dir="${Outgoing.Input.Directory}/ftp" > executable="c:/winnt/system32/ftp.exe " > > <arg value="10.200.141.143" /> > </exec> > This will not work. In theory you could use a script with your FTP executable for this, but the optional <ftp> task would probably serve you better. In either case this is a question for the user list, not the developer list. -Matt __________________________________ Do you Yahoo!? Get better spam protection with Yahoo! Mail. http://antispam.yahoo.com/tools --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
