Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.tools -> Re: Can I write a binary file to filesystem?
You might be able to do it in Java as well, as long as you are using Oracle 8i. But if you are on Oracle 8, then you need to use C++ and external procedure calls.
HTH,
Brian
Jeff Smith wrote:
>
> I was hoping there was another way... but if that is what I have to do.
>
> With 8i having the java JVM, does it restrict me from using input/output in
> a class file? Might that work?
>
> Jeff
>
> Brian Peasland <peasland_at_usgs.gov> wrote in message
> news:3A93C95A.27F9AC71_at_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!
> > ========================================
-- ======================================== 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 Sat Feb 24 2001 - 10:18:22 CST