Assigning alternate archive directory name

Nov 30, 2011 at 8:18 PM

Hello all,

We are using the latest build of DotNetZip and are having difficulty setting the Archive directory name in the AddSelectedFiles method. We are using the following:

    1. Zip.AddSelectedFiles("name = *.log", SourcePath, ArchivePath); where SourcePath is the file system source directory and ArchivePath is set to an empty string

When the Save method is called, the source folder is displayed as the archive folder (eg you have to traverse the file system folder hierarchy within the zip file to access the actual zipped items). Is there an issue here or are we missing something obvious? Thanks in advance for any ideas and/or suggestions!