From: sto.mar@... Date: 2013-02-01T23:25:11+09:00 Subject: Re: Save a file by clicking on a link Am 01.02.2013 14:43, schrieb Arup Rakshit: > Yes! Exactly this I have followed and made the code working: One change > I did- > > until Dir.glob('**/*.part*')== [] > > sleep 0.1 > #puts "h" > > end Bravo! And a slightly more "Rubyish" way to do it would be until Dir.glob('**/*.part*').empty? sleep(0.1) end or sleep(0.1) until Dir.glob('**/*.part*').empty? > > Now all are set, for GOD sake:) Thanks to all of you! You people are > really love Ruby- which is proved by your continuous suggestions. It > seems I started to fall in love with "Ruby" :-P That's nice to hear :) --