Response.Redirect to a filepath

  • Thread starter Thread starter marccruz
  • Start date Start date
M

marccruz

Hi,

I am creating a test web site that allows me to click a button which
redirects me to a file path. I implemented some code to attempt this
but I keep getting a blank page. How do I correctly redirect to a
file path?

The code I've tried is shown below:

Protected Sub Button1_Click(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Button1.Click
Response.Redirect("file:///C:/", False)
End Sub


Thank you
 
Back
Top