Tuesday, January 3, 2012, 2:37:35 AM, you wrote:
Well the File lass has a size method and you can open files and read
them with sysread which is available in the IO class (which you get
when you open a file)
Also this has nothing to do with RoR
At least on my machine
Errno::EINVAL: Invalid argument - http://www.ultradedup.com/videolib/One-minute-commercial-027.flv
from (irb):2:in `size’
from C:/RailsInstaller/Ruby1.9.2/bin/irb:12:in `<main>’
So File.size() seems to work on local files and not web-based files.
I'll take this to the ruby chat list.