If IO.File.Exists(sDestFileAndPath) Then
'\\ Package it for sending to Client Browser
Response.Clear()
Response.AddHeader("Content-Disposition", "attachment; filename=" & objLinkBtn.Text)
'Response.ContentType = "application/octet-stream"
Response.TransmitFile(sDestFileAndPath)
Response.End()
End If
|