Forum: Ruby Re: FileTest.size > 2GB ?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Berger, Daniel (Guest)
on 2006-03-13 18:02
(Received via mailing list)
> having problems with FileTest.size and files > 2GB. Seems it
> doesn't return a Bignum for them, but a (wrapped) Fixnum. For
> a 3GB File, thats a "size" of -1GB. Is there something I can
> do about it? Is there an alternative?

Yes, use win32-file, available on the RAA.


Dave B. (Guest)
on 2006-03-13 22:29
(Received via mailing list)
Nobu wrote:
> mswin32 version doesn't have large file support yet.

Daniel B. wrote:
> Yes, use win32-file, available on the RAA.

Daniel, you are the hero of Ruby users on Windows.

This topic is locked and can not be replied to.