Search notes:

Oracle: UTL_FILE.FGETATTR

declare
   exs    boolean;
   len    number;
   bls    binary_integer;
begin
   utl_file.fgetattr(
      location    => 'EXT_DIR',
      filename    => 'file.csv',
      fexists     =>  exs,
      file_length =>  len,
      block_size  =>  bls
   );

   if exs then
      dbms_output.put_line('file length: ' || len);
      dbms_output.put_line('block size:  ' || bls);
   else
      dbms_output.put_line('file does not exist');
   end if;

end;
/

See also

utl_file

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:51 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(51): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(66): id_of(Object(PDO), 'uri', '/notes/developm...') #2 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1759612544, '216.73.216.149', 'Mozilla/5.0 App...', NULL) #3 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/Oracle/installed/packages/utl/file/api/fgetattr(56): insert_webrequest() #4 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 51