Subject RE: [IBO] Database FileSize ?
Author Alan McDonald
> I want to show the actual database filesize in a statusbar,
>
> the connection is made via an alias stored in firebirds alias.conf
>
> The clients normaly don't know the exact db location on the server
> nor do they know the location of the alias.conf
>
> Does IBO have any functions to either return the full path to the
> database, not only the alias or even it's filesize ?
>
> Or is there another method you can recommend
> to get the fdb filesize ?

not sure there is other than using OS reporting means
but I would have to ask what the file size means to anyone - especially when
it could be just after a restore
or just after a big insert session, or after a big deletion session -
filesize in each of these instances will be meaningless.
Or is it so you can warn users if the disk is reaching it's capacity?
Alan