[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error in parsing XML
Hi Wilbert,
When sending data in this manner, the "normal flow of events" is to
signal the end of a file transfer by breaking the connection. So
reading until the connection is broken is the normal flow of events --
and now the debug log shows this.
I'm sorry if you find it confusing -- but it'll be valuable information
for *me* when someone sends me a debug log. Omitting that SetError()
from the debug log would give me less information about what's happening.
HTTPAPI should not report an error to your program (i.e. it should
return 1 for 'success').
Wilbert van der Hoeven wrote:
> Your solution works, however, I don't think it is completely correct.
> The debug list now shows
> SetError() #44: CommSSL_read: connection broken
>
> while I think that that is not the case. The connection is not broken,
> but the file is at its end. That is not an error situation, but the
> normal flow of events.
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------