It seems that this HttpException (0x80072746 - the remote host has closed the connection) can be triggered if, for example, the user closes the window while we transfer the file. Even if we send files in smaller blocks and check that the client is still connected, an exception can still occur. We want to catch this particular exception in order to ignore it.
The errorcode provided in the HttpException is Int32 - too small to hold 0x80072746, so where do we find this number?
grebe source
share