UTL_File coud not write on samba mount point
Hello,
I have the follow problem with this code:
DECLARE
fHandle UTL_FILE.FILE_TYPE;
BEGIN
fHandle := UTL_FILE.FOPEN('NAS_VR_DIR', 'myoutput', 'W');
UTL_FILE.PUTF(fHandle, ' --- Heading 1 ---\n');
UTL_FILE.PUTF(fHandle, ' --- Heading 2 ---\n');
UTL_FILE.PUTF(fHandle, ' --- Heading 3 ---\n');
UTL_FILE.FCLOSE(fHandle);
EXCEPTION
WHEN utl_file.invalid_path THEN
raise_application_error(-20000, 'ERROR: Invalid path for file.');
END;
/
If I started it in sql*plus on the database server, it works.
If I started it on the sql*plus on the local pc, it doesn't work:
FEHLER in Zeile 1:
ORA-29283: Ung³ltiger Dateivorgang
ORA-06512: in "SYS.UTL_FILE", Zeile 536
ORA-29283: Ung³ltiger Dateivorgang
ORA-06512: in Zeile 5
Can anybody help me?
Thanks Tom