Thanks for all the help - works like a dream now.
Steven Stefan Bodewig Till: [EMAIL PROTECTED] <bodewig@apac Kopia: he.org> Ärende: Re: Property not substituting value in telnet task 2002-03-12 14:31 Sänd svar till "Ant Users List" On Tue, 12 Mar 2002, steven hale <[EMAIL PROTECTED]> wrote: > What's wrong with this?: > > <property name="myDir" value="aaa123"> > <telnet userid="user1" password="myPassword" server="ftpname"> > <read>></read> > <write>cd ${myDir}</write> > </telnet> Nothing's wrong with your syntax (except for the typo), <telnet> simply doesn't expand properties in nested text, but it should do so for attributes. <write string="cd ${myDir}" /> should work. Stefan -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>