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

Home -> Community -> Usenet -> c.d.o.tools -> Re: Can I write a binary file to filesystem?

Re: Can I write a binary file to filesystem?

From: Brian Peasland <peasland_at_usgs.gov>
Date: Wed, 21 Feb 2001 13:57:46 GMT
Message-ID: <3A93C95A.27F9AC71@usgs.gov>

Jeff,

You can write a C++ program that does what you want. Then use an external procedure call to call your program (Oracle 8+).

HTH,
Brian

Jeff Smith wrote:
>
> I have a procedure that receives a jpg file contents as a blob and I can
> insert into a table, yada yada yada. Works great.
>
> But I need to be able to write the contents of this file to a filesystem on
> the database server. The file does not exist, so I need to create/write.
> Bfile works great and does everything I need from there, but I have to get
> the file on the filesystem.
>
> Any way to do it?
>
> Thanks
> jsmit234_at_ford.com
 

-- 
========================================
Brian Peasland
Raytheons Systems at
  USGS EROS Data Center
These opinions are my own and do not
necessarily reflect the opinions of my 
company!
========================================
Received on Wed Feb 21 2001 - 07:57:46 CST

Original text of this message

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