UTL_FILE, UTL_FILE_DIR and DIRECTORY, how do they affect UTL_FILE.FREMOVE?

Cade Roux picture Cade Roux · Jun 17, 2011 · Viewed 11.7k times · Source

FREMOVE is failing with an error "ORA-29280: invalid directory path"

It works fine when I add the path to the UTL_FILE_DIR and restart the database.

This is regardless of having the directory as an Oracle directory with both READ and WRITE granted.

Answer

DCookie picture DCookie · Jun 17, 2011

What is the syntax you're using for FREMOVE parameter location? For a directory, you pass in the name of the Oracle Directory object, case significant.