Martin DeMello wrote: > On Wed, Sep 10, 2008 at 9:58 AM, Li Chen <chen_li3 / yahoo.com> wrote: >> Hi Lex, >> >> I run your script and download a wav file of 'abacus'. I find that I >> cannot play the wav file with WMP. But I can play play it if it is >> downloaded directly from IE browser. This is bizarre. I wonder how to >> fix it. > > Compare the two files and see if they are the same. The site might > have some sort of referrer-based protection against automated > downloads. > > martin The file downloaded directly is about 9 kb and the one using script is 44 kb. Li -- Posted via http://www.ruby-forum.com/.