> i think that maybe it is a problem of synchronizimg  between download
> and save
> in my program.
> would you mind to fix it?

The "Mutex" class might be useful to you.
-- 
Posted via http://www.ruby-forum.com/.