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: PL/SQL file deletion / dir read

Re: PL/SQL file deletion / dir read

From: <chiappa_at_my-deja.com>
Date: Mon, 15 Jan 2001 11:30:30 GMT
Message-ID: <93un0n$5o6$1@nnrp1.deja.com>

Read directory contents is very easy : just make DIR > cont.txt, using HOST, Java, or similar, and read the cont.txt file using UTL_FILE.

Delete files : AFAIK you will need to send the OS DELETE command (or similar), again using HOST, Java, or similar.

[]s

       Chiappa

In article <newscache$ci167g$8bn$1_at_news.freegates.be>,   "Steven Brangers" <steven.brangers_at_altavista.net> wrote:
> Is it possible to delete files from PL/SQL code
> and
> to read directory contents ( I mean: which files are available) from
 PL /SQL
> ?
>
> Thanks,
>
> Steven Brangers -- dba/unix sysadmin.
>
>

Sent via Deja.com
http://www.deja.com/ Received on Mon Jan 15 2001 - 05:30:30 CST

Original text of this message

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