M
musosdev
Hi guys
I'm trying to code up a file downloading system for our website (C#).
My basic plan is that when a user clicks a file download, a page opens that
shows something, and fires the chunked file download (via FileStream).
That wroks fine, but what I want is a situation where if window that started
the download is closed, the streaming stops. IE the download stops.
Currently, I'm using the C# code from this KB article..
http://support.microsoft.com/kb/812406 - as I say, the download fires ok.
The question is, how do I stop it before it finshes?! Is it even possible,
or am I gonna have to do it in Silverlight?!
Thanks,
Dan
I'm trying to code up a file downloading system for our website (C#).
My basic plan is that when a user clicks a file download, a page opens that
shows something, and fires the chunked file download (via FileStream).
That wroks fine, but what I want is a situation where if window that started
the download is closed, the streaming stops. IE the download stops.
Currently, I'm using the C# code from this KB article..
http://support.microsoft.com/kb/812406 - as I say, the download fires ok.
The question is, how do I stop it before it finshes?! Is it even possible,
or am I gonna have to do it in Silverlight?!
Thanks,
Dan