Re: find the size of a file

From: Connor McDonald <connor_mcdonald_at_yahoo.com>
Date: Sun, 24 Oct 1999 13:14:31 +0800
Message-ID: <381295B7.1943_at_yahoo.com>


Danny Lee wrote:
>
> Hi, experienced oracle developers:
>
> Just wonder how can I find out the size of a file within Forms 5.0
> applications.
> The full path is known and I know how to open the file, but the TEXI_IO
> package does not have a function to find out the file size!
>
> Thanks in advance.
>
> Danny

(Awful solution coming up...)

On PC: host out a 'dir' on the file and pipe the output to a file name and then use TEXT_IO (or grep for Windows ) to read the bytes...

On Unix: same thing but using 'ls -l'

Ugh!

-- 
===========================================
Connor McDonald
"These views mine, no-one elses etc etc"
connor_mcdonald_at_yahoo.com

"Some days you're the pigeon, and some days you're the statue."
Received on Sun Oct 24 1999 - 07:14:31 CEST

Original text of this message