There are some freeware things that do it. One of the best solutions I've
seen involve the use of TCL and Expect. http://expect.nist.gov/
Charles Finley
----- Original Message -----
From: "Jim Chance" <[log in to unmask]>
To: <[log in to unmask]>
Sent: Friday, November 09, 2001 12:36 PM
Subject: UNIX connect to HP3k, check for file existence, if exists loop;
else continue
> Does anyone know how to:
>
> connect to an HP3k from a UNIX shell script
>
> that would then check for the existence of a file on the HP
> (trigger file)
>
> and if it exists, loop
>
> else if it doesn't - continue on to the following shell
> commands.
>
> Thank you for reading my question.
>
> Regards, Jim.
>
> P.S. Can't telnet within my SCO UNIX shell and FTP doesn't
> seem to sophisticated enough to IF LOOP ELSE based on ls or
> listf results.
>
> =====
> Practical Technology Solutions
> Jim Chance
> 1031 Thomas Drive
> Ashland, Ohio 44805
> Voice: 419-651-6704
> E-Mail: [log in to unmask]
> "An independent/self-employed provider of premium and practical HPe3000
business system solutions. Services specializing in COBOL, Sqlplus, Oracle,
Qedit, Suprtool, Powerhouse, Management, Operations, Database, & Analysis
consultations." IT purveyor since 1985.
>
> __________________________________________________
> Do You Yahoo!?
> Find a job, post your resume.
> http://careers.yahoo.com
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|