oracle - Ora-29283 error on 11g -
is possible access folder on pc oracle database? in other words database not installed on local machine , have created folder on pc 'c:\lob' want save images retrieved database, returning
ora-29283 error: invalid file operation.
i sure directory created because can see in directories folder in database. problem? because folder created on pc , database somewhere else? below procedure:
create or replace procedure blob_update (file_name in varchar) file_ref utl_file.file_type; raw_max_size constant number := 32767; begin file_ref := utl_file.fopen('my_dir', file_name, 'wb', raw_max_size); -- here stops working ! -- .... utl_file.fclose(file_ref); end blob_update;
pl/sql run in database system, i.e. on server. can access files on server. cannot files on pc.
even if have defined directory in oracle (create directory ...
) , granted sufficient access rights user, fail because oracle try access c:\lob
on server , not on pc.
what you're trying achieve cannot solved on server side, i.e. cannot solved in pl/sql. you'll have write code runs on client side (i.e. on pc), e.g. java or .net program.
Comments
Post a Comment