You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Milesi Nicolas <Ni...@nespresso.com> on 2009/05/25 10:57:20 UTC

telnet task (timeout)

Hello,
i'm trying to extract a .tar archive on a remote machine, but i don't
know how to set the timeout   correctly. How to tell the task to wait
for the extraction ?
 
here is my task:
 
<target name="telnet">
  <telnet userid="myUser" password="myPassword" server="myServer">
   <write>tar -xvf ../../../tmp/hoot3/files.tar</write>
   <write>sleep 125</write>
  </telnet>
 </target>
 
 
Nicolas