[REBOL] Re: Size?
From: SunandaDH:aol at: 10-Dec-2004 8:15
Stephan:
> If the size of a file is larger than the max
> value of an integer, how can I then retrieve
> the size?
I hope you get a better answer than this from someone else.....but I don't
think you can easily.
Both size? and info? assume an integer field so they fail in the same way.
You could try reading it, but that may take forever, or fail on lack of
memory:
length? read/binary %big-file
If you have Command or a recent Beta with 'Call enabled, you could issue the
appropriate operating system command and capture/parse the output -- ls or dir
etc.
It'd be worth adding a bug report to RAMBO ( www.rebol.net ) to report the
problem.
Sunanda.