@muriwai: "Hi,
I manually stream out a file in chunks from my web form using PageAsyncTask, 
Page.Response.OutputStream.BeginWrite and Flush after each chunk. I do set 
the Content-Length header. If an error occurs (for example, a timeout), I do 
the following:
response.OutputStream.Close();
response.Flush();
response.Close();
The trouble is, IE says that the download has completed successfully in 
spite of the downloded file being incomplete. How can I force IE to display 
an error (eg, Connection Was Reset) and abort the download?
Thanks!"
    @muriwai: "Hi Steven,
This looks like a bug in Internet Explorer when it offers an incomplete 
download to a user, even though Content-Length does not match the actual 
file length. According to 
<url> Content-Length 
takes precedence over the server closing the connection. I'd pass this along 
to the IE team.
Thanks
"Steven Cheng[MSFT]" <email_address> wrote in message 
news:<email_address>
<quote>"
{'source': 'USENET', 'other_information': '{"reply_count": 1, "forum_name": "microsoft.public.dotnet.framework.aspnet.20140624.mbox"}', 'file': 'data/output/usenet-microsoft.public.parquet'}