Lea de Groot wrote:
> On Wed, 13 Jun 2007 15:40:39 +0530, SJL wrote:
>   
>> I have this problem where i want to force download and mp3 and mp4 
>> format file, but by default the browsers are handling it.
>> I actually want the "save as" window to appear and give the choice to 
>> the viewer. 
>>     
>
> Zipping the file is the only way I know of to ensure a download.
>   
Have you tried adding a header with something similar to below..

Response.AppendHeader("Content-Disposition","attachment; filename=\"" +
strFileToDownload + "\"");
Response.ContentType = "audio/mpeg";

./C


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to