Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: Downloading Excel files


Message #1 by "Hugh McLaughlin" <hugh@k...> on Tue, 29 May 2001 09:13:44 -0400
Hello:



I am developing an application, called Members.asp which reads from a

database of members and creates an Excel spreadsheet called Members.xls.  I

want to be able to force a download of this file using the download manager

rather than simply opening it in the browser.  I put the

Response.ContentType="Application/Octer-Stream" which forces the download,

but the filename that comes up in the download manager is Members.asp, not

Members.xls.  I need to be able to get the .xls extension right in order to

not confuse the end-user.  I am not sure how to accomplish this.  Any help

would be greatly appreciated.  Thanks.





___________________________________________________



Hugh McLaughlin

President

KMC Mortgage Services, Inc.

KMC Financial Network, Inc.

870 111th Avenue North

Suite 1

Naples, FL  34108

(xxx)-xxx-xxxx

http://www.kmcnetwork.com










  Return to Index