I am trying the below ANT telnet task:
<telnet userid="uid" password="pass" server="${BT_Server}">
<read>/u01/appldev/devappl/po/11.5.0/reports</read>
<write>ls</write>
<read string="/u01/appldev/devappl/po/11.5.0/reports"/>
</telnet>
It will execute for infinite time after login to the remote server. Getting below message:
Buildfile: C:\Program Files\Java\apache-ant-1.8.1\build.xml
sql_compile:
[telnet] Unauthorised Access is Illegal
[telnet] login:
[telnet] uid
[telnet] Password:
I need to forcefully terminate the job by pressing ctrl+c. It is giving a message- "Terminate batch job (Y/N)?"
Please help.