Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asptoday_discuss thread: code for download the file


Message #1 by "Alpesh Patel" <alpeshapatel@y...> on Wed, 27 Feb 2002 13:40:36
Hi, Friends



I want to download files like .doc,xls,jpg, from the server. I want to 

make asp page for that...



Please provide me some hint.





regards

Alpesh
Message #2 by "Tulip, Nick S" <nick.s.tulip@c...> on Wed, 27 Feb 2002 08:46:28 -0500



	Response.ContentType = "image/gif" OR image/gif

	Response.ContentType  = "application/vnd.ms-excel" OR

"application/vnd.ms-word"



	and so on.





	Couple things though.... in IE when you link to a page like that,

the window will close I believe after the file is saved by the user.



	also... to write images... what I have done once is link the image

like this: <img src='imagepage.asp?imageid=23' BORDER='0' alt='generate

image'>



	Maybe that will help you



-----Original Message-----

From: Alpesh Patel [mailto:alpeshapatel@y...]

Sent: Wednesday, February 27, 2002 8:41 AM

To: ASPToday Discuss

Subject: [asptoday_discuss] code for download the file





Hi, Friends



I want to download files like .doc,xls,jpg, from the server. I want to 

make asp page for that...



Please provide me some hint.





regards

Alpesh


  Return to Index