------_extPart_001_01C8853C.45B5BBF4
Content-Type: text/plain;
	charsets-ascii"
Content-Transfer-Encoding: quoted-printable

Hi,

I've written a script to monitor some files stored on our network.  The
files range from a few hundred MB to 20-50g.  Above a certain point
which I haven't really narrowed down yet, the file sizes start being
reported incorrectly from my script.  It's as if the routine that does
the system query is using a 32 bit thing for the size and it's getting
truncated as integers do. Some files actually come back with a negative
size.  The data type that ruby is using is perfectly capable of holding
the size of the files.  I've tried File.size? and FileUtils.size?, so
I'm somewhat at a loss short of writing an extension. Any ideas?

 

The script is running on windows, querying the files via UNC paths
through a samba share on linux.

 

Thanks!

 

________________________________

Carey Nation <mailto:carey.nation / cnn.com>  

Lead Software Engineer

CNN BEST

Broadcast Production Systems

Video Solutions Group

(404)827-2935 (wk)

(404)824-0033 (cell)

________________________________

 


------_extPart_001_01C8853C.45B5BBF4--