From: Michael Linfield Date: 2009-03-17T12:16:11+09:00 Subject: Re: File.open().read.length result incorrect on Windows Server > It appears as if the file data is being truncated in Windows. Anyone > have an idea as to why I would be seeing results like this? Not a good explanation of WHY per'se but I've previously encountered similar problems when opening large files on windows. What wouldn't open in windows would open in Linux just fine. Maybe try a different read method such as: IO.read("filename.flv").length or File.stat("filename.flv").size I don't have a large dataset I can duplicate the problem on at the moment so I can't test this for you :( Regards, - Mac -- Posted via http://www.ruby-forum.com/.