Unanswered: Get the file path
Greetings dbforum world
i have a VB.NEt subroutine that passes a filename and some other parameters into a SQL Server store procedure, and the thing ultimately writes a file to a temp folder on the server.
Well, I need to get that file back to the client machine so the user can choose where (s)he wants to save the darned thing. I have a vague idea of how to do this but I can't seem to get my thought nebula to materialize.
^^ this isn't working.
Dim uploadPath As String = Server.MapPath("temp")
Dim reader As System.IO.StreamReader = System.IO.File.OpenText(uploadPath + "\" + FileName)
Last edited by atsukoarai86; 12-20-10 at 16:47.
"Unix is user friendly... It's just very picky about its friends."
The best things in life...are well-documented.