title: Using ICSharpCode.SharpZipLib.Zip Subfolder in zip when its not supposed to be
body: <p>I am using the library <code>ICSharpCode.SharpZipLib.Zip</code>;</p>
  
  <p>My code is follows: </p>
  
  <ul>
  <li>The path is root. <code>\\ALAWP\\THIS\\ACORD\\</code></li>
  <li>I'm zipping them to the <code>ZIPDirectory</code></li>
  </ul>
  
  <p>However when it's done the file is not named <code>acord_combined.txt</code>, instead it's called <code>ACORD\acord_combined.txt</code></p>
  
  <p>What am I doing wrong?</p>
  
  <pre><code>public void CleanRoot()
  {
      DirectoryInfo RootDi = new DirectoryInfo(FilePrep.RootDirectory);
      string ZipDirectory = FilePrep.RootDirectory + "\\processed\\AceKey"+ DateTime.Now.ToString("yyyyMMdd_H;mm;ss") +".zip";
  
      ZipOutputStream NewZipOutput = new ZipOutputStream(File.Create(ZipDirectory));
  
      foreach (FileInfo fi in RootDi.GetFiles("acord*.*"))
      {
          Compress(ref NewZipOutput, fi);
          //MoveFile(fi.FullName,ZipDirectory);
      }
  
      NewZipOutput.Finish();
      NewZipOutput.Close();
  }
  
  public void Compress(ref ZipOutputStream ZipFolder, FileInfo fi)
  {
      try
      {
         FileStream fsFileToBeZipped = fi.OpenRead();
  
         ZipEntry entry = new ZipEntry(fi.FullName);
         ZipFolder.PutNextEntry(entry);
         int size = 2048;
         byte[] buffer = new byte[size];
  
         while (true)
         {
            size = fsFileToBeZipped.Read(buffer, 0, buffer.Length);
  
            if (size &gt; 0)
               ZipFolder.Write(buffer, 0, size);
            else
               break;
         }   //end while ( true )
  
         fsFileToBeZipped.Close();
  
         //prepare and delete file
         fi.Attributes = FileAttributes.Normal;
         //fi.Delete();
     }   //end try
     catch (Exception e)
     {
          Console.WriteLine("Error zipping File.  Error - " + e.Message);
     }   //end catch
  }
  </code></pre>