Results 1 to 1 of 1
  1. #1
    Join Date
    Sep 2008
    NM, USA

    Question 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.

    Any suggestions?
     Dim uploadPath As String = Server.MapPath("temp")
                Dim reader As System.IO.StreamReader = System.IO.File.OpenText(uploadPath + "\" + FileName)
    ^^ this isn't working.
    Last edited by atsukoarai86; 12-20-10 at 15:47.
    "Unix is user friendly... It's just very picky about its friends."

    The best things in life...are well-documented.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts