nv-l
[Top] [All Lists]

Re: responding to prompt in ksh script

To: nv-l@lists.tivoli.com
Subject: Re: responding to prompt in ksh script
From: Booker Rosemary <rbooker@WOOLWORTHS.COM.AU>
Date: Wed, 17 Feb 1999 13:30:43 +1100
Reply-to: Discussion of IBM NetView and POLYCENTER Manager on NetView <NV-L@UCSBVM.UCSB.EDU>
Sender: Discussion of IBM NetView and POLYCENTER Manager on NetView <NV-L@UCSBVM.UCSB.EDU>
I've actually used a single command line prompt in a script for ftp

ftp -v -n wis2 < nms.params

where nms.params =
user <username> <userpassword>
ascii
put <filename>

This way I don't have to wait for prompts from ftp.

I think tftp has the same sort of functionality.

Rosemary

> -----Original Message-----
> From: Lucy Premus [SMTP:lpremus@METLIFE.COM]
> Sent: Wednesday, 17 February 1999 6:22
> To:   NV-L@UCSBVM.ucsb.edu
> Subject:      responding to prompt in ksh script
>
> I want to do a tftp, from a ksh script, to another system to retrieve
> files that
> my script is going use.  Is this possible?  How do I know when I get the
> tftp>
> prompt so that I could issue my get command and then of course quit from
> the
> tftp connection?
**********************************************************************
CAUTION: This Message may contain confidential information intended
only for the use of the addressee named above. If you are not the
intended recipient of this message you are hereby notified that any
use, dissemination, distribution or reproduction of this message is
prohibited. If you received this message in error please notify
Mail Administrators immediately. Any views expressed in this
message are those of the individual sender and may not necessarily
reflect the views of Woolworths Ltd.
**********************************************************************

<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web