zip file not downloading properly in IE

hi, Here is my code.

<% require 'rubygems'       require 'zip/zipfilesystem'       content = ""       content += "[InternetShortcut]\n"       content += "URL=;       content += "\nIconFile=\\n&quot;       File.delete("#{RAILS_ROOT}/public/ins_test/") if File.exist?("#{RAILS_ROOT}/public/ins_test/")"#{RAILS_ROOT}/public/ins_test/", Zip::ZipFile::CREATE){         >zipfile>"MySite.url", 'w') { |f| f.puts "#{content}" }       }       File.chmod(0777, "#{RAILS_ROOT}/public/ins_test/")

      %>       <a href="/ins_test/">download the shortcut icon (zipped)</a>

local - OS(ubuntu 8.04) When I download the zipped file in both IE & firefox it is working properly.

Server - OS(red hat 5.2) In firefox zipped file is downloading properly but not in IE.

I am not able to understand the situation, is it because of OS or my code.

Advance Thanks. Raju