perhaps "tcl/expect" is the answer to the question. it is supposed to do exactly this kind of stuff... for more details look at www.tcltk.org pradeep
----- Original Message ----- From: Satya satyap@satya.virtualave.net To: linuxers@mm.ilug-bom.org.in Sent: Monday, October 08, 2001 9:10 PM Subject: Re: [ILUG-BOM] AutoTelnet via Srcipt
On Oct 8, 2001 at 20:57, Sandeep Periwal wrote:
- Automatic [non-interactive] Telnet to a server.
- Check if a file name "a.txt" exists in the
/home/<telnetuser> 3. Send an email of file's existence / non-existence. 4. Disconnect Telnet
I do not understand how to do a Automatic [Non-interactive] telnet.
I don't think there is such a thing. Try scp'ing the file, if that fails you can mail.
-- Satya. URL:http://satya.virtualave.net/ My other vehicle is a Galaxy class starship ...