Author: hypercode | Posted on: 11/22/2007 4:25:15 PM | Views : 352

Greetings Folks,

I need some help with allowing client to download a file from the server. Runng ASP.Net 2.0, VB.Net, WS2003, IIS 6 and .Net Framework 2.0.

Do I need to add the line "Response.Flush()" in this code block? I know that it will send all buffered content to the client. Is "Response.Flush()" necessary here?

Also, do you have any suggestions for improving this code block?
Dim fileName As String = TextBox1.Text
Dim thePath As String = "e:\myFolder\" & fileName
Respo ...

Go to the complete details ...