ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ray Tayek <rta...@attbi.com>
Subject RE: TelnetTask help needed!
Date Tue, 01 Oct 2002 22:06:05 GMT
At 09:09 AM 10/1/02 -0500, you wrote:
>Thanks Nick but it still doesn't work.
>Has anyone ever tested this task on Windows ?

seems to work ok on my win98 box when talking to my linux box (see below)

<?xml version="1.0"?>
<project name="backup" basedir="." default="telnet">
     <target name="telnet">
                 <telnet userid="ray" password="xxxxx" server="192.168.1.50">
         <read>ray@k6:~$</read>
         <write>ls</write>
         <read string="CL.ps"/>
      </telnet>    </target>
</project>

CL.ps is one of the files that happens to be in ~ray. so maybe you could 
match on part of some string?

---
ray tayek http://home.attbi.com/~rtayek/ actively seeking telecommuting work
vice chair orange county java users group http://www.ocjug.org/ 
mailto:chair@ocjug.org
hate spam? http://samspade.org/ssw/


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message