title: Implementation restriction:'FILE READONLY' Can not directly access remote package variable or cursor
body: <p>I am trying to insert pdf file into oracle database using <code>form 6i</code>. Here is the code I have written.</p>
  
  <pre><code>DECLARE
  l_blob  BLOB;
  l_bfile BFILE := BFILENAME ('D:\pdf\', 'a.pdf');
  begin
  insert into demo values (1, EMPTY_BLOB())
  returning theblob into l_blob;
  dbms_lob.fileopen (l_bfile)
  dbms_lob.loadfromfile (l_blob, l_bfile, dbms_lob.getlength (l_bfile));
  dbms_lob.fileclose (l_bfile);
  END;
  </code></pre>
  
  <p>This code works well when I execute them in <code>Toad 9.0.1.8</code>. While using this in <code>oracle form 6i</code>, It shows the error,</p>
  
  <blockquote>
    <p>Implementation restriction:'FILE READONLY' Can not directly access remote package variable or cursor</p>
  </blockquote>