title: Creating a zip file with ionic.zip
body: <p>I have the following code set up to create a zip file of a set of doucments:</p>
  
  <pre><code>    public bool CreateDocumentationZipFile(int documentIdentifier, string zipDestinationPath, IList&lt;string&gt; documentPaths)        
      {
          bool zipped = false;
  
          if (documentPaths.Count &gt; 0)
          {
              using (ZipFile loanZip = new ZipFile())
              {
                  loanZip.AddFiles(documentPaths, false, zipDestinationPath);
                  loanZip.Save(string.Format("{0}{1}.zip",zipDestinationPath, documentIdentifier.ToString()));
                  zipped = true;
              }
          }
  
          return zipped;
      }
  </code></pre>
  
  <p>The issue I have is that when the zip file is created, the folder structure is maintaned within the zip file:</p>
  
  <p>e.g</p>
  
  <p>I am creating a zip of a selection of documents located at </p>
  
  <blockquote>
    <p>C:\SoftwareDevelopment\Branches\ScannedDocuments\</p>
  </blockquote>
  
  <p>When the created zip file is opened, there is a folder structure within the zip as follows:</p>
  
  <p>Folder 1 ("SoftwareDevelopment")</p>
  
  <p>Inside Folder 1 is folder 2 ("Branches")</p>
  
  <p>Inside Folder 2 is folder 3 ("ScannedDocuments")</p>
  
  <p>the scanned documents folder then contains the actual scan files.</p>
  
  <p>Can anyone tell me how I can just have the scan files in the zip without the folders path being maintained?</p>