Are you running telnet on your local box? Even so I don't expect the prompt would be the same as the DOS prompt, but that's just a guess...
-Matt --- "Woo, Chen Ching" <[EMAIL PROTECTED]> wrote: > I've the following script to use the Telnet task > using Ant1.5 on win2000: > > <project name="telnetTest" default="telnet"> > <target name="telnet"> > <telnet server="localhost"> > <read>C:\></read> > <write>dir</write> > <read>C:\></read> > </telnet> > </target> > </project> > > Ant seems to be waiting for the 'C:\>' input stream > forever. I know I must have > done something wrong in the <read> sub-task. > > Any help will be greatly appreciated. > > Thanks. > > chen. > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
