this is the code that is being used to stream the file:
Context.Current.Response.Clear()
Context.Current.Response.ContentType = "application/octet-stream"
Context.Current.Response.AddHeader("Content-Disposition", "attachment;
filename=""" & strStreamName & """")
Context.Current.Response.Flush()
Context.Current.Response.WriteFile(FilePath)
My problem is once the stream finishes, if I call a procedure to delete
the file, the streaming stalls and it never sends the file. I can only get
it to send if I don't delete the file afterwards. It seems to delete the
file before it streams it, even though the call to delete is located after
the call to stream.
anyone care to give some insight into this.
thanks!
---
You are currently subscribed to dotnet as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
---------
Administrated by 15 Seconds : http://www.15Seconds.com
List Archives/Search : http://local.15Seconds.com/search
Subscription Information : http://www.15seconds.com/listserv.htm
Advertising Information: http://www.internet.com/mediakit/