Re: Help UTL_FILE utility

From: Leo Van Nieuwenhuyse <leo.van.nieuwenhuyse_at_pandora.be>
Date: Tue, 6 Jul 1999 23:48:27 +0200
Message-ID: <FQug3.3349$d8.5305_at_afrodite.telenet-ops.be>


On what platform is your server running? Note that UTL_FILE writes output to the server, not the client.

Sarma Kambhampati <kbrsarma_at_hotmail.com> schreef in berichtnieuws 01bec7d4$5cf4e4e0$aa400828_at_KSarma.d51.lilly.com...
> I'm getting 'INVALID PATH' error when running this code.
> All I'm trying to do is Open a file in Write mode and
> Close it!
> Any suggestions?
> Thanks
> Sarma
>
> SET SERVEROUTPUT ON
>
> DECLARE
> FILE_PTR UTL_FILE.FILE_TYPE;
> BEGIN
> FILE_PTR := UTL_FILE.FOPEN('c:\','temp.txt', 'w');
> EXCEPTION
> WHEN UTL_FILE.INVALID_PATH THEN
> DBMS_OUTPUT.PUT_LINE ('INVALID PATH');
> END;
> /
>
Received on Tue Jul 06 1999 - 23:48:27 CEST

Original text of this message