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: How to upload a file using Web and PL/SQL?

Re: How to upload a file using Web and PL/SQL?

From: <bonanos_at_yahoo.com>
Date: Thu, 16 Jul 1998 06:24:09 GMT
Message-ID: <6ok6a9$er3$1@nnrp1.dejanews.com>


Hi David

> All the Oracle Web Application Server 3.0 books that I have mention that
> this is possible, but don't give any examples.
>
> When I submit my html form, I get the name of the file back from my
> PL/SQL script instead of the actual file content, unless I use the
> multipart/form-data encoding type and then I get an error...
>
> It seems like a get an error automatically when I use th e
> multipart/form-data encoding. Do I need to do anything special to
> accept this type of encoding from PL/SQL?
>
> I just want the content of my uploaded file to end up in a varchar2
> variable that I will later store in the database...
>
> Any help would be appreciated.

WAS 3.0 does not accept the mime type. You have several options, You can upgrade to WAS4, you can download the OWA replacement cartridge from the govt.us.oracle.com (downloadable utilities) site , or you can install the apache web server to handle that functionality.

-----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum Received on Thu Jul 16 1998 - 01:24:09 CDT

Original text of this message

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