downloaded file content not showing
<p>i am using bellow code to download the files.but it downloads the file but not showing the contents or it not opens the file. the file paths are different. my project is on different path and i am taking the files from different path. Those files are not stored on project path.file paths,size,name are stored in database.    </p>

<pre><code>Crc32 crc = new Crc32();
ZipOutputStream s = new ZipOutputStream(File.Create(
       @"C:\Documents and Settings\admin\My Documents\Downloads\Evidence.zip"));

s.SetLevel(0); // 0 - store only to 9 - means best compression

FileStream fs = File.OpenRead(@"c:\boot.ini");
byte[] buffer = new byte[fs.Length];

fs.Read(buffer, 0, buffer.Length);

if (ds.Tables[0].Rows.Count &gt; 0)
{
  for (int i = 0; i &lt; ds.Tables[0].Rows.Count; i++)
  {
    string fileNamePath = Convert.ToString(ds.Tables[0].Rows[i]["EvidencePath"]);
    string fileNmae = Convert.ToString(ds.Tables[0].Rows[i]["EvidenceName"]);

    ZipEntry entry = new ZipEntry(ZipEntry.CleanName(@fileNmae));
    entry.DateTime = DateTime.Now;
    entry.Comment = "test file";
    entry.ZipFileIndex = i + 1;
    entry.Size = fs.Length;

    //fs.Close();

    crc.Reset();
    crc.Update(buffer);
    entry.Crc = crc.Value;

    s.PutNextEntry(entry);
    s.Write(buffer, 0, buffer.Length);

    //Response.WriteFile(""+fileNamePath);
  }
  s.Finish();
  s.Close();
  fs.Close();
}

ShowMessageBox("Downloaded....");
</code></pre>
