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: UTL_FILE.FOPEN AND \\ AND $

Re: UTL_FILE.FOPEN AND \\ AND $

From: <sybrandb_at_yahoo.com>
Date: 18 May 2004 07:23:28 -0700
Message-ID: <a1d154f4.0405180623.7274463a@posting.google.com>


Sander Goudswaard <sander_at_example.com> wrote in message news:<Xns94ED7A3CB5D17snafuexamplecom_at_127.0.0.1>...
> avanrossem_at_hotmail.com (Andre or Anneke?) wrote in
> news:4d32d1be.0405172144.26716839_at_posting.google.com:
>
> > I have the following line of code in a package:
> > v_output_file :=
> > UTL_FILE.FOPEN('\\serv1\TestDir$\files','Testfile.txt','W');
> >
> > I also have the \\serv1\TestDir$\files in the init.ora file staan
> > (oracle 8.1.7)
> >
> > But I still have 'INVALID PATH' when opening the file.
> > with 'normal paths' (such as c:\test" it is working.
>
> You will have to let the Oracle service run under a user with access to the
> network drive, not under LocalSystem.
>
> Sander

This is usually considered as a security breach. A much simpler solution would be (space constraints provided) to dump the files locally and share the directory where the files end up.

Sybrand Bakker
Senior Oracle DBA Received on Tue May 18 2004 - 09:23:28 CDT

Original text of this message

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