<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
ts wrote:
<blockquote cite="mid200505011422.j41EMx6v021675 / moulon.inra.fr"
 type="cite">
  <blockquote type="cite">
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">"J" == Jeff Singer <a class="moz-txt-link-rfc2396E" href="mailto:jsinger / freshlooktech.com">&lt;jsinger / freshlooktech.com&gt;</a> writes:
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->
J&gt; Does anyone have any Ideas/suggestions on how to get this to work.

 What is your OS, windows ?

 Try

  filename = gets.chomp # remove \n at the end



Guy Decoux





  </pre>
</blockquote>
Yes, Im on windows.<br>
<br>
Wouldn't your code add binary data to a file (I already have the data),
instead of output it to a file?<br>
</body>
</html>