Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #55.0K
~816 People Reached
Favorite Forums

2 Posted Topics

Member Avatar for rinkuchoudhury
Member Avatar for elblazzy4chizzy

Try [code=asp]Dim FilePath As String = Server.MaPath(Folder+filename) Dim FileName As System.IO.FileInfo = New System.IO.FileInfo(FilePath & "\" & lblFileName.Text) ' If FileName.Exists Then Response.Clear() Response.AddHeader("Content-Disposition", "attachment; filename=" & FileName.Name) Response.AddHeader("Content-Length", FileName.Length.ToString()) Response.ContentType = ReturnExtension(FileName.Extension.ToLower()) '"image/jpeg" Response.WriteFile(FileName.FullName) Response.End() 'Else 'Response.Write("This file does not exist.") 'End If Catch ex As Exception lblMsg.Text = …

Member Avatar for ajit2mail
0
452

The End.