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

Home -> Community -> Usenet -> c.d.o.server -> Re: WPG_DOCLOAD

Re: WPG_DOCLOAD

From: Frank van Bortel <frank.van.bortel_at_gmail.com>
Date: Sat, 29 Jul 2006 11:41:54 +0200
Message-ID: <eafa9f$9pk$1@news3.zwoll1.ov.home.nl>


Steve Howard schreef:
> Tim Arnold wrote:

>>    -- Set the size so the browser knows how much it will be downloading.
>>    htp.p( 'Content-length: ' || n_length );
>>    -- The filename will be used by the browser if the users does a "Save as"
>>    htp.p( 'Content-Disposition: filename="' || s_filename || '"' );

>
>
> I haven't used it for at least five years, but wow, does that code
> bring back memories of hardcoding html tags with htp.print statements.
> I embedded javascript, tags, you name it using Oracle OWS (2.0 or 3.0,
> I forget which). It must be much easier now.
>
> Regards,
>
> Steve
>

Actually, it isn't. The download bit is the easy stuff (hence Don wrote about it/copied the examples), the upload is a bit trickier, as there are two tables involved.
The upload was... eh, "under documented"?
-- 
Regards,
Frank van Bortel

Top-posting is one way to shut me up...
Received on Sat Jul 29 2006 - 04:41:54 CDT

Original text of this message

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