× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I contacted the remote site and confirmed that none of the files had
been sent. Ran the program again, and all was well. I thought the
handle message was indicating an issue with opening a file. Wish I
knew why that rather serious error did not set a non-zero return code.
Fortunately, no data loss, but it would have been nice had they
contacted me when the expected files did not arrive at the usual time.
Had I not see that message in the spool file, I would have received
an email a few weeks later inquiring about the file.

Thanks for confirming that it should have failed, and that the exit
status does appear to be a bug.

Is there any way to know if this has been reported at v5r4?

John McKee

On Fri, Nov 18, 2011 at 3:42 PM, Scott Klement
<midrange-l@xxxxxxxxxxxxxxxx> wrote:
"Couldn't get handle" tells you that SFTP couldn't open a file on the
remote server.  The word "Failure" (in this example) is what the remote
server returned to your sftp client as an error message.  The remote
server said "Failure" as it's error message.

Why didn't it set the exit status?  That I don't know, but it sounds
like a bug to me.

On 11/18/2011 3:04 PM, jmmckee flinthills.com wrote:
Couldn't get handle: Failure

--
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 thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.