|
Any attempt to answer your question about cause of unexpected behavior would
be pure conjecture without the source code.
Put yourself in our shoes. You've said, "My script doesn't work; what's
wrong with it," and you haven't provided anything that would help us arrive
at a conclusion.
Maybe I should take that back. Maybe the correct answer is, "your script is
probably wrong."
Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
"Let us endeavor so to live that when we come to die even the undertaker
will be sorry."
-- Mark Twain
The switchover to a different server was made Friday night. The
manager did maintain sftp access. I ran sftp and ssh interactively to
get the known_hosts entry updated. But, Saturday morning, the job did
not work. I was able to (again) sign on interactively and do the file
transfer. That was when I noticed the difference. The site now does
not request a password. My unmodified expect script is coded to return
a 2 if no password prompt is received. And that is to be returned to
the CL so that error processing can be done. This has worked before.
Any idea why the return code did not get set to an error value since
the password prompt was never sent?
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
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.