Q: Help, I'm stuck! I've been using your articles to write Expect scripts to send documents with SFTP. When everything goes according to plan, it works fine. However, when something goes wrong, my Expect script doesn't stop, and no error is reported to my CL program--the exit status is zero. I've looked everywhere for an answer. Help me Obi Wan Kenobi. You're my only hope! A: You're right that OpenSSH's SFTP utility will return a non-zero exit status to its caller if it fails. ...

REGISTER NOW TO ACCESS THIS ARTICLE

All registered users get access to premium content on iPro Developer for free.

Already registered? here.