On Friday, November 14, 2003, 12:05:16 PM, T. wrote:
> no one responded to this and i still can't get it to work. please help. let me rephrase very simply:
> downloading file with open_uri and can't flush print to report download progress.
>> [snip]
>> # THIS WON'T THIS PRINT!!!!!!!!!!!
>> print "\ca{source_file_io.pos}KB/#{@source_size}KB"
I doubt it has anything to do with open-uri. Try STDOUT.flush after
the print.
BTW, what does print "\ca{source_file_io.pos}" achieve? Specifically,
the "\ca".
Gavin