Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Downloading blob will save the file by the procedure name and not the actual file name

Re: Downloading blob will save the file by the procedure name and not the actual file name

From: Andy Finkenstadt <kahuna_at_panix.com>
Date: Mon, 6 Oct 2003 04:52:57 +0000 (UTC)
Message-ID: <blqsf9$eps$1@reader2.panix.com>


In <bloqbt$5813_at_news-dxb.emirates.net.ae> "Ahmad" <amabsout_at_yahoo.com> writes:
>I have the filename stored in the database. Is there a way to change the
>filename?

Piece of cake:

You need to add these header to the output response headers:

Content-type: application/octet-stream; name="some quoted filename.ext"
Content-disposition: attachment; filename="some quoted filename.ext" 
Content-transfer-encoding: BASE64

andy

cf: http://www.dotnet247.com/247reference/msgs/27/136031.aspx

-- 
Andrew Finkenstadt (http://www.finkenstadt.com/andy/)
Received on Sun Oct 05 2003 - 23:52:57 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US