|
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalfunderstand that
Of Jay Vaughn
Sent: Thursday, May 3, 2018 7:53 AM
To: Midrange Systems Technical Discussion
Subject: Re: trouble installing EXPECT using Scott Klement Reference
i seeeeee... ok getting a better picture of all this - i did
EXPECT mimic'd someone at a terminal... but i see the spawn commandwill
do what I need for the sftp executionlike
On Thu, May 3, 2018 at 8:51 AM, Kevin Bucknum
<Kevin@xxxxxxxxxxxxxxxxxxx>
wrote:
Expect doesn't change anything about using sftp. Expect just asks
Referencea person typing at a terminal. Here is one of our scripts.Behalf
#!/usr/local/bin/expect -f
spawn sftp -oPort=9002 xxx@1.1.1.1
expect "password:"
send abc123n"
expect "sftp>"
send "mput *\n"
expect "sftp>"
send "quit\n"
Kevin Bucknum
Senior Programmer Analyst
MEDDATA/MEDTRON
Tel: 985-893-2550
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On
Of Jay Vaughn
Sent: Thursday, May 3, 2018 7:47 AM
To: Midrange Systems Technical Discussion
Subject: Re: trouble installing EXPECT using Scott Klement
beport to
also, by using EXPECT (instead of SFTP), is there a way to specify
the
use?
On Thu, May 3, 2018 at 8:45 AM, Jay Vaughn
<jeffersonvaughn@xxxxxxxxx>
wrote:
indeed - thank you - let me go from here...
On Thu, May 3, 2018 at 8:41 AM, Kevin Bucknum
<Kevin@xxxxxxxxxxxxxxxxxxx>
wrote:
It looks to me like if you follow those instructions it would
toat /usr/bin/expect. If you want it in qopensys you would need
usingeitherOn
copy/move it, or create a symbolic link (the better option)
Kevin Bucknum
Senior Programmer Analyst
MEDDATA/MEDTRON
Tel: 985-893-2550
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx]
Behalf
Of Jay Vaughn
Sent: Thursday, May 3, 2018 7:35 AM
To: Midrange Systems Technical Discussion
Subject: trouble installing EXPECT using Scott Klement
Reference
Hopefully someone can help...
I'm following the short instructions in this link...
https://www.scottklement.com/expect/
however, when I am done and check for the expect command
(MIDRANGE-L)the
missing?following command, I do not see it...
WRKLNK OBJ('/qopensys/usr/bin/expect')
It appears i am not doing the install correctly. What am I
Jay
--
This is the Midrange Systems Technical Discussion
Tosubscribe,mailinglist
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To
unsubscribe, or change list options,--
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting,
please take a moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription
related questions.
Help support midrange.com by shopping at amazon.com with our
affiliate
link: http://amzn.to/2dEadiD
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx
relatedpleasesubscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting,
take
a moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription
mailinglist--questions.
Help support midrange.com by shopping at amazon.com with our
affiliate
link: http://amzn.to/2dEadiD
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,--
unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please
take a moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our
affiliate
link: http://amzn.to/2dEadiD
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
affiliatelist To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,take
unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please
a moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our
listlink: http://amzn.to/2dEadiD--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take
a moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.