Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Downloading blob will save the file by the procedure name and not the actual file name
In <blqsf9$eps$1_at_reader2.panix.com> Andy Finkenstadt <kahuna_at_panix.com> writes:
>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
You might not need the base64 encoding if you are using straight binary write.
-- Andrew Finkenstadt (http://www.finkenstadt.com/andy/)Received on Mon Oct 06 2003 - 08:46:23 CDT