Hi,

so the subject implies what i want to do, get the file size before
downloading.  i've seen posts about downloading the header, so if
possible, could someone give an example of this code???

also, for files without a header, i tried using :content_length_proc
within the open-uri class, but it would seem that the file is being
downloaded, then tested for size (from the difference in time for
running my code)

so if someone has any ideas as to getting filesize of a file (mp3
specifically) without a header... please help!

-- 
Posted via http://www.ruby-forum.com/.