title: PDF generated is blank
body: <pre><code> private static void DownloadFile()
          {
              FtpWebRequest reqFTP;
              WebResponse webResponse;
              GetTheResponseFromFTP(out reqFTP, out webResponse, true);
  
              FtpWebResponse response = (FtpWebResponse)webResponse;
  
              Stream responseStream = response.GetResponseStream();
              StreamReader reader = new StreamReader(responseStream);
  
              using (StreamWriter streamWriter =
                    new StreamWriter("d:\\TestUnity.pdf", true))
              {
                  streamWriter.WriteLine(reader.ReadToEnd());
              }
  
  
              reader.Close();
              response.Close();  
          }
  </code></pre>
  
  <p>I have the above function, that download a file from the FTP location. 
  I am reading the text and trying to write it in a file in my local machine.
  The PDf file generated is of the same size as it is downloaded but when I open the file its blank. Now I have two questions:</p>
  
  <ol>
  <li>Can any one suggest how to save the downloaded file to a path which can be changed.</li>
  <li>Whats the reason for the above problem mentioned.</li>
  </ol>