<telnet userid="vatluri" password="password" server="nycsuweb02">
     <write>cd RELEASE</write>
     <write>pwd</write>
     <read>/export/home/vatluri/RELEASE</read>
     <write>unzip -a cfn_vamsi1.zip</write>
     <read>timeout="10">/export/home/vatluri/RELEASE</read>
  </telnet>

What kind of response am i supposed to read for after the unzip -a command ?

This is what my command prompt looks like: It just hangs there

SunOS 5.8

login:
   [telnet] vatluri
   [telnet]  Password:
   [telnet] cd RELEASE
   [telnet] pwd
   [telnet]
Last login: Thu Mar 14 19:10:02 from 128.127.51.56
bash-2.03$ bash-2.03$ /export/home/vatluri/RELEASE
   [telnet] unzip -a cfn_vamsi1.zip

The good thing is that the unzip does work now - But the command propmt is
hung

Actually - It looks like the -a option is not doing what it is supposed to
do - When initiating via ant telnet task

Any ideas ?

-----Original Message-----
From: Steve Loughran [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, March 14, 2002 7:11 PM
To: Ant Users List
Subject: Re: Telnet Task



----- Original Message -----
From: "Atluri, Vamsi NYC" <[EMAIL PROTECTED]>
To: "'Ant Users List'" <[EMAIL PROTECTED]>
Sent: Thursday, March 14, 2002 3:23 PM
Subject: Telnet Task


> Hello - Ive encountered a bit of a problem with the following
>
> <ftp server="nycsuweb02"
>        remotedir="/export/home/vatluri/RELEASE"
>        userid="vatluri"
>        password="password"
>        binary="yes" >
>
>     <fileset dir="\Build_Environment\RELEASE\application">
>       <include name="cfn_vamsi1.zip"/>
>     </fileset>
>   </ftp>
>
>   <telnet userid="vatluri" password="password" server="nycsuweb02">
>      <write>cd RELEASE</write>
>      <write>unzip -a cfn_vamsi1.zip</write>
>      <write>sleep 20</write>
>   </telnet>


you need to read for responses to each command before issuing new ones, and
again before disconnecting


--
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]>

Reply via email to