Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Stuck on Getting File Informaiton

Status
Not open for further replies.

Lynus

Technical User
Apr 12, 2003
69
0
0
I am using the response.trasmitfile method and in firefox it works wonderfully. However in IE V6 and V7 it gets stuck on "Getting File Information" then eventually errors with unable to download the aspx thats supposed to be processing the tranfer. Here is my code:

Dim mypath As String = Server.MapPath("/Downloads/myfile.zip")
Response.ContentType = "application/zip"
Response.AddHeader("Content-Disposition", "attachment; filename=myfile.zip")
Response.TransmitFile(mypath)


I know its probably something simple that I am missing and could really use some help on this one. Thank you
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top