perl-asp mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Csongor Fagyal <conc...@conceptonline.hu>
Subject Re: BinaryWrite and filenames
Date Fri, 17 Jan 2003 15:08:21 GMT
Richard Curtis wrote:

> Hi.
>   I am trying to implement binary write code, and have it working with 
> the code shown below (note: this is only sample code - this code would 
> not be put into production and I am aware of the problems it currently 
> has).  I still have one problem which has me stumped.
>
> Any file sent to the browser this way always takes the name of the 
> running script.  Eg, so I am streaming "test.zip" but when the file 
> save as dialog pops up, it offers the name of "downloadTest.asp".

Try calling your script as
<a href="..../downloadTest.asp?file=test.zip">

It should trick your browser.

- Cs.


---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org


Mime
View raw message