<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://xceed.com/CS/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Xceed Zip for .NET</title><link>http://xceed.com/CS/forums/17/ShowForum.aspx</link><description>Discussions about Xceed Zip for .NET and Real-Time Zip for .NET</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Debug Build: 61120.2)</generator><item><title>Decompress data which is compressed by Xceed zip using Xceed.dll in java..</title><link>http://xceed.com/CS/forums/thread/30083.aspx</link><pubDate>Wed, 23 Mar 2011 07:40:34 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:30083</guid><dc:creator>techbulls</dc:creator><slash:comments>3</slash:comments><comments>http://xceed.com/CS/forums/thread/30083.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=30083</wfw:commentRss><description>&lt;p&gt;Hi All,&lt;/p&gt;&lt;p&gt;We are planning to buy Xceed product to decompress the data which is broadcast-ed on a port. This data is compressed using Xceed zip.&lt;/p&gt;&lt;p&gt;Could you please help us to buy suitable product for decompression?&lt;/p&gt;&lt;p&gt;Also please let us know how can we use it in java..&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks in advance..&lt;/p&gt;&lt;p&gt;Regards,&lt;/p&gt;&lt;p&gt;VB &lt;br&gt;&lt;/p&gt;</description></item><item><title>ReaderWriter.Licenser proplem</title><link>http://xceed.com/CS/forums/thread/33229.aspx</link><pubDate>Mon, 01 Apr 2013 17:32:24 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:33229</guid><dc:creator>Bill</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/33229.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=33229</wfw:commentRss><description>&lt;p&gt;Hi I'm having a problem the my LicenseKey. I am using Xceed Zip for .Net version 5.1. If I execute the following two license calls&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;Xceed.Zip.Licenser.LicenseKey = "myKey"&lt;/p&gt;&lt;p&gt;&amp;nbsp;Xceed.Zip.ReaderWriter.Licenser.LicenseKey = "myKey"&lt;/p&gt;&lt;p&gt;the call to &amp;nbsp;&lt;span style="font-size:10pt;"&gt;ReaderWriter.Licenser always fails? with&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;"The license key used to license this Xceed product does not matc&lt;span style="font-size:10pt;"&gt;h the current product."&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Bill&lt;span style="font-size:10pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>'The decryption password is invalid' error when using CopyTo/CopyFilesTo</title><link>http://xceed.com/CS/forums/thread/33215.aspx</link><pubDate>Tue, 26 Mar 2013 10:16:34 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:33215</guid><dc:creator>Robin</dc:creator><slash:comments>0</slash:comments><comments>http://xceed.com/CS/forums/thread/33215.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=33215</wfw:commentRss><description>&lt;p&gt;I am creating a .NET version of a VB6 component we have and as part of that I need to extract individual PDF files from an encrypted&amp;nbsp;archive. I have written a function to do so (see below). The password supplied to the function is correct and valid as it can be used to extract the PDF file from the archive using WinZip. however I am getting an error 'The decryption password is invalid', is there something wrong with the code below?&lt;/p&gt;&lt;pre style="background:white;color:black;font-family:Consolas;font-size:13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color:blue;"&gt;Public&lt;/span&gt;&amp;nbsp;&lt;span style="color:blue;"&gt;Function&lt;/span&gt;&amp;nbsp;ExtractFilesToDisk(archive&amp;nbsp;&lt;span style="color:blue;"&gt;As&lt;/span&gt;&amp;nbsp;&lt;span style="color:blue;"&gt;String&lt;/span&gt;,&amp;nbsp;filenamepattern&amp;nbsp;&lt;span style="color:blue;"&gt;As&lt;/span&gt;&amp;nbsp;&lt;span style="color:blue;"&gt;String&lt;/span&gt;,&amp;nbsp;destinationfolder&amp;nbsp;&lt;span style="color:blue;"&gt;As&lt;/span&gt;&amp;nbsp;&lt;span style="color:blue;"&gt;String&lt;/span&gt;,&amp;nbsp;&lt;span style="color:blue;"&gt;Optional&lt;/span&gt;&amp;nbsp;password&amp;nbsp;&lt;span style="color:blue;"&gt;As&lt;/span&gt;&amp;nbsp;&lt;span style="color:blue;"&gt;String&lt;/span&gt;&amp;nbsp;=&amp;nbsp;&lt;span&gt;""&lt;/span&gt;)&amp;nbsp;&lt;span style="color:blue;"&gt;As&lt;/span&gt;&amp;nbsp;&lt;span&gt;mbStatus&lt;/span&gt;
 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color:blue;"&gt;Dim&lt;/span&gt;&amp;nbsp;status&amp;nbsp;&lt;span style="color:blue;"&gt;As&lt;/span&gt;&amp;nbsp;&lt;span&gt;mbStatus&lt;/span&gt;&amp;nbsp;=&amp;nbsp;&lt;span style="color:blue;"&gt;New&lt;/span&gt;&amp;nbsp;&lt;span&gt;mbStatus&lt;/span&gt;&amp;nbsp;&lt;span style="color:blue;"&gt;With&lt;/span&gt;&amp;nbsp;{.StatusCode&amp;nbsp;=&amp;nbsp;&lt;span&gt;mbStatusCode&lt;/span&gt;.FAIL}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color:blue;"&gt;Dim&lt;/span&gt;&amp;nbsp;zip&amp;nbsp;&lt;span style="color:blue;"&gt;As&lt;/span&gt;&amp;nbsp;&lt;span style="color:blue;"&gt;New&lt;/span&gt;&amp;nbsp;&lt;span&gt;ZipArchive&lt;/span&gt;(&lt;span style="color:blue;"&gt;New&lt;/span&gt;&amp;nbsp;&lt;span&gt;DiskFile&lt;/span&gt;(archive))
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;zip.DefaultDecryptionPassword&amp;nbsp;=&amp;nbsp;password
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color:blue;"&gt;Dim&lt;/span&gt;&amp;nbsp;folder&amp;nbsp;&lt;span style="color:blue;"&gt;As&lt;/span&gt;&amp;nbsp;&lt;span style="color:blue;"&gt;New&lt;/span&gt;&amp;nbsp;&lt;span&gt;DiskFolder&lt;/span&gt;(destinationfolder)
 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color:green;"&gt;''Copy&amp;nbsp;each&amp;nbsp;matching&amp;nbsp;file&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color:green;"&gt;'Dim&amp;nbsp;result&amp;nbsp;As&amp;nbsp;FileSystemItem&amp;nbsp;=&amp;nbsp;Nothing&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color:green;"&gt;'For&amp;nbsp;Each&amp;nbsp;file&amp;nbsp;As&amp;nbsp;AbstractFile&amp;nbsp;In&amp;nbsp;zip.GetFiles(True)&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color:green;"&gt;'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'Case&amp;nbsp;insensitive&amp;nbsp;match&amp;nbsp;with&amp;nbsp;wildcards&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color:green;"&gt;'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;If&amp;nbsp;file.Name.ToUpper&amp;nbsp;Like&amp;nbsp;filenamepattern.ToUpper&amp;nbsp;Then&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color:green;"&gt;'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;result&amp;nbsp;=&amp;nbsp;file.CopyTo(folder,&amp;nbsp;True)&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color:green;"&gt;'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;End&amp;nbsp;If&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color:green;"&gt;'Next&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color:green;"&gt;'If&amp;nbsp;result&amp;nbsp;IsNot&amp;nbsp;Nothing&amp;nbsp;Then&amp;nbsp;status.StatusCode&amp;nbsp;=&amp;nbsp;mbStatusCode.OK&lt;/span&gt;
 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;zip.CopyFilesTo(folder,&amp;nbsp;&lt;span style="color:blue;"&gt;False&lt;/span&gt;,&amp;nbsp;&lt;span style="color:blue;"&gt;True&lt;/span&gt;,&amp;nbsp;filenamepattern)
 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color:blue;"&gt;Return&lt;/span&gt;&amp;nbsp;status
 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color:blue;"&gt;End&lt;/span&gt;&amp;nbsp;&lt;span style="color:blue;"&gt;Function&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;Xceed.Zip.InvalidDecryptionPasswordException was unhandled by user code&lt;br&gt;&amp;nbsp; HResult=-2146232832&lt;br&gt;&amp;nbsp; Message=The decryption password is invalid.&lt;br&gt;Type: Xceed.Zip.ZippedFile&lt;br&gt;FullName: \0001.pdf&lt;br&gt;Zip file: C:\[DIRECTORY]\0001.dat&lt;br&gt;&amp;nbsp; Source=Xceed.FileSystem&lt;br&gt;&amp;nbsp; StackTrace:&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Xceed.FileSystem.FileSystemItem.CopyTo(FileSystemEvents events, Object userData, AbstractFolder destinationFolder, Boolean replaceExistingFiles)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Xceed.FileSystem.FileSystemItem.CopyTo(AbstractFolder destinationFolder, Boolean replaceExistingFiles)&lt;br&gt;&amp;nbsp; InnerException: &lt;/p&gt;</description></item><item><title>"Not a valid Win32 FileTime" error in Xceed.Zip.ZipArchive.EndUpdate</title><link>http://xceed.com/CS/forums/thread/33095.aspx</link><pubDate>Thu, 14 Feb 2013 20:30:33 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:33095</guid><dc:creator>Alec</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/33095.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=33095</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;We are getting the following error when closing ZIP file opened with Xceed. We are on an old 3.5.7573.12150 version and we are wondering if this problem has been fixed since then? If so, is there a bug/fix report we can take a look at and verify that this is the same problem?&lt;span style="font-size:10pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="color:#1F497D;"&gt;eclipse-java-indigo-sr2-win32.zip
---&amp;gt; System.ArgumentOutOfRangeException: &lt;/span&gt;&lt;b&gt;&lt;span style="color:red;"&gt;Not
a valid Win32 FileTime.&lt;/span&gt;&lt;/b&gt;&lt;span style="color:#1F497D;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;span style="color:#1F497D;"&gt;&amp;nbsp;&amp;nbsp; at
Xceed.Zip.ZipArchive.EndUpdate(FileSystemEvents events, Object userData)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style="font-size:10pt;"&gt;&amp;nbsp; &amp;nbsp;at
Xceed.Zip.ZipArchive.EndUpdate()&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;Thanks,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Alec&lt;span style="font-size:10pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>progress or cancel support for QuickZip.unzip</title><link>http://xceed.com/CS/forums/thread/33046.aspx</link><pubDate>Wed, 23 Jan 2013 20:04:00 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:33046</guid><dc:creator>MP</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/33046.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=33046</wfw:commentRss><description>I am using QuickZip.Unzip in my application to unzip a split zipped file that spans multiple disks. I would like to display progress as well as have the ability to cancel the operation at any time. I am unable to find adequate documentation on the callbacks associated with the method. What&amp;nbsp;is the purpose of&amp;nbsp;'abort' in the ItemProgression callback ? Any additional info or examples would be appreciated.</description></item><item><title>MultiVolume Zip problems</title><link>http://xceed.com/CS/forums/thread/31391.aspx</link><pubDate>Wed, 30 Nov 2011 15:58:06 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:31391</guid><dc:creator>Youcef</dc:creator><slash:comments>12</slash:comments><comments>http://xceed.com/CS/forums/thread/31391.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=31391</wfw:commentRss><description>&lt;p&gt;I have the following source code which allow me to perform recursive zipping operation on a source folder.&lt;/p&gt;&lt;p&gt;this code work correctly, But if i add the SplitSize option (to create a multivolume archive) i have this error :&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;b&gt;Cannot perform the requested operation on an item that does not exist.&amp;nbsp; Type: Xceed.FileSystem.DiskFile&amp;nbsp; FullName: C:\zip.zip&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Any help please?&lt;/p&gt;&lt;p&gt;Thank you. &lt;br&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Code:&lt;/p&gt;&lt;p&gt;Dim oZipFile As AbstractFile&lt;br&gt;oZipFile = New DiskFile("&lt;b&gt;C:\zip.zip&lt;/b&gt;")&lt;br&gt;Me.oZip = New ZipArchive(oZipFile)&lt;br&gt;&lt;br&gt;Me.oZip.DefaultCompressionLevel = DirectCast(4, CompressionLevel)&lt;br&gt;Me.oZip.DefaultTextEncoding = TextEncoding.Unicode&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;'Me.oZip.SplitNameFormat = SplitNameFormat.PkZip&lt;br&gt;'Me.oZip.SplitSize = MultiVolumeFileSize&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;If Len(Me.sPassword) &amp;gt; 0 Then&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Me.oZip.DefaultEncryptionMethod = EncryptionMethod.Compatible&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Me.oZip.DefaultEncryptionPassword = Me.sPassword&lt;br&gt;End If&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'contains files and subfolders&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; oDiskFolder = New DiskFolder("c:\aa\bb")&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;Me.oZip.BeginUpdate()&lt;br&gt;RecursiveZip(oDiskFolder, Me.oZip, Nothing, TestSpe(Me.Options, ZipOptions.ZO_OverWrite), True, "\")&lt;br&gt;Me.oZip.EndUpdate()&lt;br&gt;&lt;br&gt;&lt;br&gt;Private Sub RecursiveZip(ByVal oFolder As AbstractFolder, ByVal oZipArch As ZipArchive, ByRef oFilter As Filter, ByVal bOverWriteFlag As Boolean, ByVal bRecursiveFlag As Boolean, ByRef sRootPath As String)&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim oSubFolders() As AbstractFolder&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim oFiles() As AbstractFile&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim oTgtFolder As ZippedFolder = Nothing&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If oFilter Is Nothing Then&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; oFiles = oFolder.GetFiles(False)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Else&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; oFiles = oFolder.GetFiles(False, oFilter)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If oFiles.Length &amp;gt; 0 Then&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; oTgtFolder = DirectCast(oZipArch.CreateFolder(sRootPath), ZippedFolder)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; For Each oFile In oFiles&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; oFile.CopyTo(oTgtFolder, bOverWriteFlag)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; Next&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If bRecursiveFlag Then&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; oSubFolders = oFolder.GetFolders(False)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; For Each oSubFolder In oSubFolders&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; RecursiveZip(oSubFolder, oZipArch, oFilter, bOverWriteFlag, True, sRootPath &amp;amp; oSubFolder.Name &amp;amp; "\")&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; Next&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;&lt;br&gt;End Sub &lt;br&gt;&lt;/p&gt;&lt;p&gt;: &lt;br&gt;&lt;/p&gt;</description></item><item><title>When protecting with AES, Xceed ZIP throws FileSystemInternalException: An update in place did not write the expected number of bytes.</title><link>http://xceed.com/CS/forums/thread/32797.aspx</link><pubDate>Mon, 29 Oct 2012 19:19:39 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:32797</guid><dc:creator>Eric</dc:creator><slash:comments>5</slash:comments><comments>http://xceed.com/CS/forums/thread/32797.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=32797</wfw:commentRss><description>&lt;p&gt;Is this a known issue? Is there any fix?&amp;nbsp;I only see this when using AES128 encryption.&amp;nbsp;&lt;/p&gt;&lt;p&gt;Xceed.FileSystem.FileSystemInternalException:
An update in place did not write the expected number of bytes.&lt;/p&gt;&lt;p&gt;

Type:
Xceed.Zip.ZipArchive&lt;/p&gt;&lt;p&gt;

FullName: \&lt;/p&gt;&lt;p&gt;

&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;at
Xceed.Utils.Storage.StorageItem.WriteHeader(Stream dest, Int64 size)&lt;/p&gt;&lt;p&gt;

&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;at
Xceed.Utils.Storage.Storage.UpdateItems(FileSystemEventsSession session, Stream
destStream)&lt;/p&gt;&lt;p&gt;

&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;at
Xceed.Zip.ZipStorage.UpdateItems(FileSystemEventsSession session, Stream
destStream)&lt;/p&gt;&lt;p&gt;

&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;at
Xceed.Utils.Storage.Storage.Update(FileSystemEventsSession session)&lt;/p&gt;&lt;p&gt;

&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;at
Xceed.Zip.ZipStorage.Update(FileSystemEventsSession session)&lt;/p&gt;&lt;p&gt;

&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;at
Xceed.Utils.Storage.StorageHandler.Rebuild(FileSystemEventsSession session)&lt;/p&gt;&lt;p&gt;

&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;at
Xceed.Utils.Storage.StorageHandler.ReleaseReference(FileSystemEventsSession
session)&lt;/p&gt;&lt;p&gt;

&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;at
Xceed.Utils.Storage.StorageHandler.EndUpdate(FileSystemEventsSession session)&lt;/p&gt;&lt;p&gt;

&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;at
Xceed.Zip.ZipArchive.EndUpdate(FileSystemEvents events, Object userData)&lt;/p&gt;&lt;p&gt;

&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;at Xceed.Zip.ZipArchive.EndUpdate()&lt;/p&gt;&lt;p&gt;

&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;at
Fiddler.frmViewer.actSaveSessionArchive(String sFilename, String sPassword,
Session[] arrSessions) in C:\src\Fiddler2\Viewer.cs:line 5059&lt;/p&gt;&lt;p&gt;

xceed.zip.dll v4.3.11214.17010&lt;/p&gt;</description></item><item><title>Bad XML format: Using Xceed.Zip.ReaderWriter the zipped xml file when unzipped is not in xml format</title><link>http://xceed.com/CS/forums/thread/32832.aspx</link><pubDate>Sat, 03 Nov 2012 13:07:48 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:32832</guid><dc:creator>Ramkumar</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/32832.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=32832</wfw:commentRss><description>&lt;p&gt;We have the Xceed.Zip 3.7 version, Using ZipWriter we zip the xml files and when we unzip the files using the ZipReader class the unzipped xml files are not in xml format.&lt;/p&gt;&lt;p&gt; This issue is not solvable, please support us in solving the same.&lt;/p&gt;&lt;p&gt;RamkumarR&lt;/p&gt;</description></item><item><title>Question for moving a complete archive a notch</title><link>http://xceed.com/CS/forums/thread/32819.aspx</link><pubDate>Wed, 31 Oct 2012 19:03:49 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:32819</guid><dc:creator>Yves</dc:creator><slash:comments>3</slash:comments><comments>http://xceed.com/CS/forums/thread/32819.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=32819</wfw:commentRss><description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I'm completly new to Xceed ZIP for .Net and I've been given the task of working with a zip file that's produced by one of our software.&lt;/P&gt;
&lt;P&gt;The question is this situation: I have a&amp;nbsp;rather large archive that has a&amp;nbsp;6-7 levels directory tree. To get this archive to operate the way we want, it's necessary to create a new TOP folder (name it as we like)&amp;nbsp;and move the structure into it, in the same zip.&lt;/P&gt;
&lt;P&gt;There are some MoveTo methods in the documentation and I'm working my way through them but I would appreciate all the help I can get.&lt;/P&gt;
&lt;P&gt;Can someone post a sample of what to do ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Thanks !&lt;/P&gt;
&lt;P&gt;Yves&lt;/P&gt;</description></item><item><title>Mono support?</title><link>http://xceed.com/CS/forums/thread/32632.aspx</link><pubDate>Tue, 04 Sep 2012 16:37:36 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:32632</guid><dc:creator>Chris</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/32632.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=32632</wfw:commentRss><description>&lt;p&gt;Hi, I'm working on a mac, and would like a Mono version of the xceed realtime zip so that I can inflate/deflate network data. Is it possible to get a version of the library that works on mac?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Chris&amp;nbsp;&lt;/p&gt;</description></item><item><title>reproducable FileSystemInternalException</title><link>http://xceed.com/CS/forums/thread/32587.aspx</link><pubDate>Tue, 21 Aug 2012 13:50:37 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:32587</guid><dc:creator>Seth</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/32587.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=32587</wfw:commentRss><description>&lt;p&gt;We have an app that zips data from files, all in memory, and stores it in a database. &amp;nbsp;It will later unzip the data from the database. &amp;nbsp;We have a certain input that zips fine, and unzips fine. &amp;nbsp;However, once the unzip is performed once, subsequent zip operations fail with&amp;nbsp;FileSystemInternalException. &amp;nbsp;This is with the latest release of the 5.1 components. &amp;nbsp;The full project is at http://staging.bookingbuilder.com/seth/XceedZipTester2.zip&lt;/p&gt;&lt;p&gt;&amp;nbsp;To see the issue, zip zipit, then unzipit then zipit again. &amp;nbsp; &amp;nbsp;The relevant source is below as well.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thank you.&lt;/p&gt;&lt;p&gt;Seth&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Public Class Form1&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; Private _zippedString As String = ""&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; Private _unzippedString As String = ""&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; Private Sub ZipIt()&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dim bytes As Byte()&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'bytes = System.IO.File.ReadAllBytes("c:\testoutput.txt")&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dim data As String = "one:2012:03:13 08:47:40.4176one:2012:03:13 08:47:48.5180one:2012:03:13 08:48:07.6921"&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dim enc As New System.Text.UTF8Encoding&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; bytes = enc.GetBytes(data)&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dim zip As New XceedZip&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; _zippedString = zip.ZipToBase64EncodedString(bytes)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; End Sub&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; Private Sub UnZipIt()&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; If String.IsNullOrEmpty(_zippedString) Then Exit Sub&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dim zip As New XceedZip&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; _unzippedString = zip.UnzipToString(_zippedString)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; End Sub&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ZipIt()&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; End Sub&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; UnZipIt()&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; End Sub&lt;/p&gt;&lt;p&gt;End Class&lt;/p&gt;&lt;p&gt;Public Function ZipToByteArray(ByVal data() As Byte, ByVal encryptionPassword As String, ByVal fileNameInZipFile As String) As Byte()&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dim ZipFileInMemory As New Xceed.FileSystem.MemoryFile("RAM_File", "zipfile.zip")&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; If String.IsNullOrEmpty(fileNameInZipFile) Then fileNameInZipFile = "InternalFileNameOnly"&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dim FileToBeZipped As New Xceed.FileSystem.MemoryFile("RAM_File", fileNameInZipFile)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FileToBeZipped.Create()&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ' write the data to the file to be zipped&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dim str As System.IO.Stream = FileToBeZipped.OpenWrite(True)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; str.Write(data, 0, data.Length)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; str.Close()&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ' now create the zip archive (zip file)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dim zipArchive As New ZipArchive(ZipFileInMemory)&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; zipArchive.TempFolder = New MemoryFolder("ram:\")&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; zipArchive.DefaultCompressionLevel = Xceed.Compression.CompressionLevel.Highest&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; zipArchive.DefaultCompressionMethod = Xceed.Compression.CompressionMethod.LZMA&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; If Not String.IsNullOrEmpty(encryptionPassword) Then&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; zipArchive.DefaultEncryptionMethod = EncryptionMethod.WinZipAes&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; zipArchive.DefaultEncryptionPassword = encryptionPassword&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; End If&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ' copy the file to be zipped to the zip archive&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FileToBeZipped.CopyTo(zipArchive, True)&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ' to write the zip file to a physical file&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'memZipFile.CopyTo(New DiskFile("c:\bbutilty.zip"), True)&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ' now let's get the memory zip file into a byte array&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; str = ZipFileInMemory.OpenRead()&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dim BytesToReturn() As Byte&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ReDim BytesToReturn(CInt(str.Length))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; str.Read(BytesToReturn, 0, CInt(str.Length))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; str.Close()&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ' now write the byte array to a file if needed&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'System.IO.File.WriteAllBytes("c:\bbutility2.zip", abytZipFile)&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FileToBeZipped.Delete()&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ZipFileInMemory.Delete()&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; zipArchive = Nothing&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Return BytesToReturn&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; End Function&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Public Function UnzipToByteArray(ByVal zippedData() As Byte, ByVal encryptionPassword As String) As Byte()&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ' unzips the first file in a zip archive and returns it as a string&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Try&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dim ZipFileInMemory As New Xceed.FileSystem.MemoryFile("RAM_File", "zipfile.zip")&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ZipFileInMemory.Create()&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ' write the data to the file to be zipped&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dim str As System.IO.Stream = ZipFileInMemory.OpenWrite(True)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; str.Write(zippedData, 0, zippedData.Length)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; str.Close()&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dim zip As New ZipArchive(ZipFileInMemory)&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; If Not String.IsNullOrEmpty(encryptionPassword) Then&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; zip.DefaultEncryptionMethod = EncryptionMethod.WinZipAes&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; zip.DefaultDecryptionPassword = encryptionPassword&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; End If&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; For Each f As AbstractFile In zip.GetFiles(True)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ' we don't know the length, so we'll write it into a new stream, then move that into a byte array&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dim buffer(1000) As Byte&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dim unzippedStream As New System.IO.MemoryStream(1000)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dim zippedStream As System.IO.Stream = f.OpenRead&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dim bytesInBuffer As Integer = zippedStream.Read(buffer, 0, buffer.Length)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; unzippedStream.Write(buffer, 0, bytesInBuffer)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Do While bytesInBuffer &amp;gt; 0&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; bytesInBuffer = zippedStream.Read(buffer, 0, buffer.Length)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'Debug.Print(CStr(bytesInBuffer))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; unzippedStream.Write(buffer, 0, bytesInBuffer)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Loop&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ' now that we have a seekable stream, we can easily write it to a byte array&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; unzippedStream.Flush()&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dim unzippedBytes() As Byte = unzippedStream.GetBuffer() ' this returns the number of bytes expanded to the buffer size&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ReDim Preserve unzippedBytes(CInt(unzippedStream.Length - 1)) ' so let's trim it to the actual size&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Return unzippedBytes&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Exit For&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Next&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Catch ex As Exception&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; End Try&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Return Nothing&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; End Function&amp;nbsp;&lt;/p&gt;</description></item><item><title>WinZip 16.5 File</title><link>http://xceed.com/CS/forums/thread/32568.aspx</link><pubDate>Wed, 15 Aug 2012 18:45:30 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:32568</guid><dc:creator>Thorsten</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/32568.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=32568</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;i can not unzip a &lt;b&gt;WinZip 16.5 zipx file&lt;/b&gt;.&lt;/p&gt;&lt;p&gt;ErrorMessage:&lt;span style="font-size:11.0pt;font-family:'Calibri','sans-serif';mso-ascii-theme-font:minor-latin;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:'Times New Roman';mso-bidi-theme-font:minor-bidi;mso-ansi-language:DE;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;&lt;br&gt;An I/O exception occurred while copying the data from the item to its destination.&lt;br&gt;Type: Xceed.Zip.ZippedFile&lt;br&gt;FullName: \CastleVille Bonus\MyPicture.png&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;The WinZip 16.5 file is not decryptet or else.&lt;/p&gt;&lt;p&gt;Please help zu unzip WinZip 16. zipx file. &lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks &lt;/p&gt;&lt;p&gt;&lt;b&gt;Xceed.Zip.v5.1.dll (5.1.12266.12120)&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>XceedZib Library  Warning</title><link>http://xceed.com/CS/forums/thread/32556.aspx</link><pubDate>Tue, 14 Aug 2012 05:58:36 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:32556</guid><dc:creator>Venkatesh Raja</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/32556.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=32556</wfw:commentRss><description>&lt;P style="MARGIN:0in 0in 0pt;" class=MsoNormal&gt;&lt;A name=_MailOriginal&gt;&lt;/A&gt;&lt;SPAN style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;"&gt;&lt;FONT size=3&gt;We use 4.1 version of Xceedzip library to zip a file with following conditions,&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="TEXT-INDENT:-0.25in;MARGIN:0in 0in 0pt 0.5in;mso-list:l0 level1 lfo1;" class=MsoListParagraph&gt;&lt;SPAN&gt;&lt;SPAN style="FONT-FAMILY:Symbol;COLOR:#1f497d;mso-fareast-font-family:Symbol;mso-bidi-font-family:Symbol;"&gt;&lt;SPAN style="mso-list:Ignore;"&gt;&lt;FONT size=3&gt;·&lt;/FONT&gt;&lt;SPAN style="FONT:7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;"&gt;&lt;FONT size=3&gt;Case1: A PDF or XML file inside one single folder.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="TEXT-INDENT:-0.25in;MARGIN:0in 0in 0pt 0.5in;mso-list:l0 level1 lfo1;" class=MsoListParagraph&gt;&lt;SPAN&gt;&lt;SPAN style="FONT-FAMILY:Symbol;COLOR:#1f497d;mso-fareast-font-family:Symbol;mso-bidi-font-family:Symbol;"&gt;&lt;SPAN style="mso-list:Ignore;"&gt;&lt;FONT size=3&gt;·&lt;/FONT&gt;&lt;SPAN style="FONT:7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;"&gt;&lt;FONT size=3&gt;Case2: Multiple PDF or multiple XML inside sub folders.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN:0in 0in 0pt 1in;" class=MsoListParagraph&gt;&lt;SPAN&gt;&lt;SPAN style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;"&gt;&lt;FONT size=3&gt;E.g., &lt;SPAN style="mso-tab-count:1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;//ParentFolder/SubFolder1/adb.pdf&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="TEXT-INDENT:0.5in;MARGIN:0in 0in 0pt 1in;" class=MsoNormal&gt;&lt;SPAN&gt;&lt;SPAN style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;"&gt;&lt;FONT size=3&gt;//ParentFolder/SubFolder2/acd.pdf&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="TEXT-INDENT:0.5in;MARGIN:0in 0in 0pt 1in;" class=MsoNormal&gt;&lt;SPAN&gt;&lt;SPAN style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;"&gt;&lt;o:p&gt;&lt;FONT size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN:0in 0in 0pt;" class=MsoNormal&gt;&lt;SPAN&gt;&lt;SPAN style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;"&gt;&lt;FONT size=3&gt;With the latest version of WinZip(version &amp;gt;14), case 2 throws a warning on opening the zip file.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN:0in 0in 0pt;" class=MsoNormal&gt;&lt;SPAN&gt;&lt;B&gt;&lt;SPAN style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;"&gt;&lt;FONT size=3&gt;Warning Message:&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN:0in 0in 0pt;" class=MsoNormal&gt;&lt;SPAN&gt;&lt;SPAN style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;"&gt;&lt;FONT size=3&gt;Winzip encountered&amp;nbsp;problems during this operation.Would&amp;nbsp;you like to view the details of the last operation showing the specific error encountered?&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN:0in 0in 0pt;" class=MsoNormal&gt;&lt;SPAN&gt;&lt;SPAN style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;"&gt;&lt;FONT size=3&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN:0in 0in 0pt;" class=MsoNormal&gt;&lt;SPAN&gt;&lt;SPAN style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;"&gt;&lt;FONT size=3&gt;On the click of OK,we get the below warning in a pop-up&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN:0in 0in 0pt;" class=MsoNormal&gt;&lt;FONT size=3&gt;&lt;SPAN&gt;&lt;B&gt;&lt;SPAN style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;"&gt;Warning: &lt;/SPAN&gt;&lt;/B&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;"&gt;The zip file is read only. The file name in the archive is invalid and had to be fixed: /SubFolder2/acd.pdf.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN:0in 0in 0pt;" class=MsoNormal&gt;&lt;SPAN&gt;&lt;SPAN style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;"&gt;&lt;o:p&gt;&lt;FONT size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN:0in 0in 0pt;" class=MsoNormal&gt;&lt;SPAN&gt;&lt;SPAN style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;"&gt;&lt;FONT size=3&gt;Please let us know, will the latest version of XceedZiblib solve this issue. Please get back at the earliest.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN:0in 0in 0pt;" class=MsoNormal&gt;&lt;SPAN&gt;&lt;SPAN style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;"&gt;&lt;o:p&gt;&lt;FONT size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN:0in 0in 0pt;" class=MsoNormal&gt;&lt;SPAN&gt;&lt;SPAN style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;"&gt;&lt;FONT size=3&gt;Thanks,&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN:0in 0in 0pt;" class=MsoNormal&gt;&lt;SPAN&gt;&lt;SPAN style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;"&gt;&lt;FONT size=3&gt;Venkat&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description></item><item><title>LZMA seems slow</title><link>http://xceed.com/CS/forums/thread/32462.aspx</link><pubDate>Fri, 27 Jul 2012 14:11:26 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:32462</guid><dc:creator>Michael</dc:creator><slash:comments>4</slash:comments><comments>http://xceed.com/CS/forums/thread/32462.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=32462</wfw:commentRss><description>&lt;p&gt;I'm using a trial version of Xceed Zip for .Net v5.1. and am finding that compressing a file using LZMA + 256-bit AES encryption is taking a lot longer than expected.&amp;nbsp; Using Winzip v15 compressing a 250MB SQL bak file down to about 40MB is taking a little over a minute.&amp;nbsp; But with Xceed it's taking around 5 or 6 minutes.&lt;/p&gt;&lt;p&gt;I do realize that it's not totally fair to compare the products, but the difference in compression time seems so stark that I'm wondering if there's something wrong.&amp;nbsp; Six minutes is just so painfully slow on these small 250MB test files I'm throwing at it.&lt;br&gt;&lt;/p&gt;</description></item><item><title>Password was not provided for encrypted data.</title><link>http://xceed.com/CS/forums/thread/32426.aspx</link><pubDate>Thu, 19 Jul 2012 09:44:56 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:32426</guid><dc:creator>Danny</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/32426.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=32426</wfw:commentRss><description>&lt;p&gt;Hello XCeed experts,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I compress a string (called compressedDossier) like so (VB.NET):&lt;/p&gt;&lt;p&gt;Dim compressedDossier As String = System.Text.Encoding.Unicode.GetString( _&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Xceed.Compression.Formats.XceedCompressedStreamEx.Compress( _&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.Text.Encoding.Default.GetBytes(dossier)))&amp;nbsp; &lt;/p&gt;&lt;p&gt;Not important for this issue, but I persist this string to the Database. Later I retrieve this string from the database and I want to decompress it like this (VB.NET):&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim decompressedDossier As String = String.Empty&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Het dossier is niet gezipped dus we kunnen het dossier simpelweg decomprimeren.&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; decompressedDossier = System.Text.Encoding.Unicode.GetString( _&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Xceed.Compression.Formats.XceedCompressedStreamEx.Decompress( _&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.Text.Encoding.Default.GetBytes(dossier.Content)))&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Catch ex As Exception&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GeneralServices.WriteToLog("PatientDossierRetriever.GetDossier: " &amp;amp; ex.Message)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Try&amp;nbsp; &lt;br&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;As you can see I write my error message away to&amp;nbsp; logfile, again not important for this problem. But the message of the exception (ex.message) is:&lt;/p&gt;&lt;p&gt;" Password was not provided for encrypted data."&lt;/p&gt;&lt;p&gt;&amp;nbsp;As you can see in above example I do not provide a password. So why all of a sudden does it need one now? I've already tried to provide passwords at the compress as also the decompress (made a password like: "Hello"). But then it gives me the error that not the correct password was provided (which is strange because I absolutely used "Hello" as password).&lt;/p&gt;&lt;p&gt;&amp;nbsp;Can anyone help me with this strange problem? &lt;br&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Help with tar.gz file</title><link>http://xceed.com/CS/forums/thread/32251.aspx</link><pubDate>Thu, 14 Jun 2012 15:56:47 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:32251</guid><dc:creator>Bil</dc:creator><slash:comments>3</slash:comments><comments>http://xceed.com/CS/forums/thread/32251.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=32251</wfw:commentRss><description>&lt;P&gt;Newbie here trying to extract tar.gz file in VB.NET 4.0.&amp;nbsp; My source file is&amp;nbsp; &lt;FONT color=#a31515 size=2 face=Consolas&gt;&lt;FONT color=#a31515 size=2 face=Consolas&gt;&lt;FONT color=#a31515 size=2 face=Consolas&gt;"C:\...\pickup\4NCrecords.SC_1337738401.tar.gz"&lt;FONT color=#000000 face=Arial&gt; and the target file inside is&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;FONT color=#a31515 size=2 face=Consolas&gt;&lt;FONT color=#a31515 size=2 face=Consolas&gt;&lt;FONT color=#a31515 size=2 face=Consolas&gt;"C:\...\pickup\4NCrecords.SC_1337738401.csv"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;.&amp;nbsp; The numbered part of the filename will change daily.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;So far I have this from Xceed help files:&lt;/P&gt;&lt;FONT size=2 face=Consolas&gt;&lt;FONT size=2 face=Consolas&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;Public&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face=Consolas&gt;&lt;FONT size=2 face=Consolas&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;Shared&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face=Consolas&gt;&lt;FONT size=2 face=Consolas&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;Sub&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face=Consolas&gt;&lt;FONT size=2 face=Consolas&gt; UnTar()&lt;BR&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;&amp;nbsp; Dim&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face=Consolas&gt;&lt;FONT size=2 face=Consolas&gt; diskFile &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;As&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face=Consolas&gt;&lt;FONT size=2 face=Consolas&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;New&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face=Consolas&gt;&lt;FONT size=2 face=Consolas&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#2b91af size=2 face=Consolas&gt;&lt;FONT color=#2b91af size=2 face=Consolas&gt;&lt;FONT color=#2b91af size=2 face=Consolas&gt;DiskFile&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face=Consolas&gt;&lt;FONT size=2 face=Consolas&gt;(&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#a31515 size=2 face=Consolas&gt;&lt;FONT color=#a31515 size=2 face=Consolas&gt;&lt;FONT color=#a31515 size=2 face=Consolas&gt;"C:\My_Documents\NCID\DDS\SouthCarolina\data\pickup\4NCrecords.SC_1337738401.tar.gz"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face=Consolas&gt;&lt;FONT size=2 face=Consolas&gt;)&lt;BR&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;&amp;nbsp; Dim&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face=Consolas&gt;&lt;FONT size=2 face=Consolas&gt; gzip &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;As&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face=Consolas&gt;&lt;FONT size=2 face=Consolas&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;New&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face=Consolas&gt;&lt;FONT size=2 face=Consolas&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#2b91af size=2 face=Consolas&gt;&lt;FONT color=#2b91af size=2 face=Consolas&gt;&lt;FONT color=#2b91af size=2 face=Consolas&gt;GZippedFile&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face=Consolas&gt;&lt;FONT size=2 face=Consolas&gt;(diskFile)&lt;BR&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;&amp;nbsp; Dim&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face=Consolas&gt;&lt;FONT size=2 face=Consolas&gt; tar &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;As&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face=Consolas&gt;&lt;FONT size=2 face=Consolas&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;New&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face=Consolas&gt;&lt;FONT size=2 face=Consolas&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#2b91af size=2 face=Consolas&gt;&lt;FONT color=#2b91af size=2 face=Consolas&gt;&lt;FONT color=#2b91af size=2 face=Consolas&gt;TarArchive&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face=Consolas&gt;&lt;FONT size=2 face=Consolas&gt;(gzip)&lt;BR&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;&amp;nbsp; Dim&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face=Consolas&gt;&lt;FONT size=2 face=Consolas&gt; file &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;As&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face=Consolas&gt;&lt;FONT size=2 face=Consolas&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#2b91af size=2 face=Consolas&gt;&lt;FONT color=#2b91af size=2 face=Consolas&gt;&lt;FONT color=#2b91af size=2 face=Consolas&gt;AbstractFile&lt;BR&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face=Consolas&gt;&lt;FONT size=2 face=Consolas&gt;&amp;nbsp; file = tar.GetFile(&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#a31515 size=2 face=Consolas&gt;&lt;FONT color=#a31515 size=2 face=Consolas&gt;&lt;FONT color=#a31515 size=2 face=Consolas&gt;"C:\My_Documents\NCID\DDS\SouthCarolina\data\pickup\4NCrecords.SC_1337738401.csv"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face=Consolas&gt;&lt;FONT size=2 face=Consolas&gt;)&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;&amp;nbsp; If&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face=Consolas&gt;&lt;FONT size=2 face=Consolas&gt; file.Exists &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;Then&lt;BR&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face=Consolas&gt;&lt;FONT size=2 face=Consolas&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; file.Delete()&lt;BR&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;&amp;nbsp; End&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face=Consolas&gt;&lt;FONT size=2 face=Consolas&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;If&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face=Consolas&gt;&lt;FONT size=2 face=Consolas&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;End&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2 face=Consolas&gt;&lt;FONT size=2 face=Consolas&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;Sub&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;&lt;FONT color=#0000ff size=2 face=Consolas&gt;&lt;FONT color=#000000 face=Arial&gt;Thanks much for any help!&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;</description></item><item><title>Extracting a tar.gz file problems</title><link>http://xceed.com/CS/forums/thread/32214.aspx</link><pubDate>Wed, 06 Jun 2012 14:39:00 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:32214</guid><dc:creator>Aaron</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/32214.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=32214</wfw:commentRss><description>&lt;div&gt;I have been trying to figure this out for a while now but cannot seem to figure it out. I keep getting a file system exception.&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;The exception is:&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;An unknown tar format was encountered.&lt;/div&gt;&lt;div&gt;Type: Xceed.GZip.GZippedFile&lt;/div&gt;&lt;div&gt;FullName: \SEARCH_JoeBlow_2010-11-09 22.23.09.001z.DITU-NOC.PKG.TAR&amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;My code:&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;	&lt;/span&gt;public override void ExtractTarGz(FileInfo searchFile, TransientFolder tempFolder)&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var gzipFile = new DiskFile(searchFile.FullName);&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (!File.Exists(searchFile.FullName))&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AbstractFile tarFile = new GZippedFile(gzipFile);&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AbstractFolder archive = new TarArchive(tarFile);&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var destination = new DiskFolder(tempFolder.Folder.FullName);&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; destination.CopyTo(archive, true);&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;I am simply just trying to extract the gz file(searchfile) to the tempFolder. Any advice is much appreciated. &amp;nbsp;&lt;/div&gt;</description></item><item><title>Error unzipping:  InvalidZipStructureException</title><link>http://xceed.com/CS/forums/thread/23607.aspx</link><pubDate>Mon, 31 Aug 2009 18:27:01 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:23607</guid><dc:creator>Laure</dc:creator><slash:comments>4</slash:comments><comments>http://xceed.com/CS/forums/thread/23607.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=23607</wfw:commentRss><description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I have a zip file (attached) that I'm trying to unzip using the CopyFilesTo function.&amp;nbsp; I get:&lt;/P&gt;
&lt;P&gt;Xceed.Zip.InvalidZipStructureException = {"The information contained in the local header does not match the information of the central header.&lt;BR&gt;Zip file: c:\site\enol\UserUpload\2152047\GSCBOR.zip"}&lt;/P&gt;
&lt;P&gt;I can unzip this with other tools without error.&amp;nbsp; I was using Xceed.zip.dll version 2.3.5566.0, and tried a trial version, 4.1.9373.11490, but that version also threw the same exception.&amp;nbsp; Can anyone help?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Thanks!&lt;/P&gt;</description></item><item><title>This CompressedStream object does not support reading or decompressing.</title><link>http://xceed.com/CS/forums/thread/32153.aspx</link><pubDate>Sat, 26 May 2012 22:19:50 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:32153</guid><dc:creator>Michael</dc:creator><slash:comments>2</slash:comments><comments>http://xceed.com/CS/forums/thread/32153.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=32153</wfw:commentRss><description>&lt;p&gt;Hmmm. Just purchased, so maybe I am missing something. I copied this code out of the StreamDemo project into a VS2010 console app:&lt;/p&gt;&lt;p&gt;FileStream sourceStream = new FileStream(fileName, FileMode.Open, FileAccess.Read);&lt;br&gt;FileStream destStream = new FileStream(fileName + ".zip", FileMode.Create, FileAccess.Write);&lt;br&gt;CompressedStream compStream = new CompressedStream(destStream, CompressionMethod.PPMd, CompressionLevel.Normal);&lt;br&gt;StreamCopy(compStream, destStream);&lt;/p&gt;&lt;p&gt;private static void StreamCopy(Stream sourceStream, Stream destStream)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int bytesRead;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; byte[] buffer = new byte[32768];&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while ((bytesRead = sourceStream.Read(buffer, 0, buffer.Length)) &amp;gt; 0)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; destStream.Write(buffer, 0, bytesRead);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; finally&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sourceStream.Close();&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; destStream.Close();&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;&lt;p&gt;fileName is a valid XML file. I verified that the file stream is loading the file properly, and there is a zero-byte file being created for destination. However, this line: while ((bytesRead = sourceStream.Read(buffer, 0, buffer.Length)) &amp;gt; 0) raises this error: This CompressedStream object does not support reading or decompressing.&lt;/p&gt;&lt;p&gt;What am I missing?&lt;/p&gt;</description></item><item><title>Zipping multiple folders with &amp; without subfolders, incl relative paths</title><link>http://xceed.com/CS/forums/thread/32065.aspx</link><pubDate>Tue, 01 May 2012 20:13:22 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:32065</guid><dc:creator>Steve</dc:creator><slash:comments>3</slash:comments><comments>http://xceed.com/CS/forums/thread/32065.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=32065</wfw:commentRss><description>&lt;P&gt;I'm new to Xceed Zip for .Net.&lt;/P&gt;
&lt;P&gt;I'm looking for suggestions for the most efficient method for doing the following:&lt;BR&gt;1) There is a BaseFolder on a share.&amp;nbsp; eg \\Share1\MyDate\BaseFolder&lt;BR&gt;2) Within the BaseFolder are multiple folders, &lt;BR&gt;&amp;nbsp;some of which I want to zip NOT including any subfolder&amp;nbsp;&amp;nbsp; eg Folder1&lt;BR&gt;&amp;nbsp;some of which I want to zip including SOME subfolders&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; eg Folder2\Sub1 and Folder2\Sub2, but not Folder2\Sub3&lt;BR&gt;&amp;nbsp;some of which I want to zip including ALL subfolders&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; eg Folder3\Sub1...Sub4&lt;/P&gt;
&lt;P&gt;3) Each file in the final archive must include its path relative to the BaseFolder&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; eg BaseFolder\Folder1\File1&lt;/P&gt;
&lt;P&gt;I have spent some time trying to create the code for this, but I feel like I'm trying to reinvent the wheel.&lt;BR&gt;I've looked at the sample code, but it includes only the simplest conditions.&lt;/P&gt;
&lt;P&gt;Any help will be greatly appreciated.&lt;BR&gt;&lt;/P&gt;</description></item><item><title>"generated temporary filename was not unique"</title><link>http://xceed.com/CS/forums/thread/31938.aspx</link><pubDate>Sat, 31 Mar 2012 05:18:22 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:31938</guid><dc:creator>Kelly</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/31938.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=31938</wfw:commentRss><description>&lt;p&gt;I'm getting an error in our production system where we get:&lt;/p&gt;

&lt;p&gt;Xceed.FileSystem.FileSystemInternalException: Generated temporary filename was not unique.&lt;br&gt;Type: Xceed.FileSystem.DiskFile&lt;br&gt;FullName: C:\Resources\directory\dc7aefb467c648c581e131ad4da8096e.WorkerRole.localStorage\ziptemp\76caf912-23df-4ada-b196-e64d38c18107.tmp ---&amp;gt; Xceed.FileSystem.ItemAlreadyExistsException: Cannot perform the requested operation on an item that exists.&lt;br&gt;Type: Xceed.FileSystem.DiskFolder&lt;br&gt;FullName: C:\Resources\directory\dc7aefb467c648c581e131ad4da8096e.WorkerRole.localStorage\ziptemp\&lt;br&gt;&amp;nbsp;&amp;nbsp; at Xceed.FileSystem.FileSystemItem.Create(FileSystemEvents events, Object userData)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Xceed.FileSystem.AbstractFolder.CreateTempFile()&lt;br&gt;&amp;nbsp;&amp;nbsp; --- End of inner exception stack trace ---&lt;br&gt;&amp;nbsp;&amp;nbsp; at Xceed.FileSystem.AbstractFolder.CreateFile(FileSystemEvents events, Object userData, String relativeName, Boolean replaceIfExists)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Xceed.FileSystem.AbstractFolder.CreateFile(String relativeName, Boolean replaceIfExists)&lt;br&gt;&lt;/p&gt;

&lt;p&gt;This happened when we were probably creating several zips in memory simultaneously.&amp;nbsp; I'm having trouble reproducing it given that I think it is some sort of race condition.&amp;nbsp; We are using Xceed.zip version 4.1 and this is a critical production issue for us, so I need to come up with a workaround or a fix for it.&lt;/p&gt;

&lt;p&gt;&amp;nbsp;Do you know if this is fixed in a later version of Xceed.Compression.dll?&lt;/p&gt;

&lt;p&gt;&amp;nbsp;The function at the base of this call stack (before it goes into Xceed.Compression.dll) is:&lt;br&gt;&lt;/p&gt;

&lt;pre&gt;public byte[] ZipAll(Tuple&amp;lt;string,byte[]&amp;gt;[] entries)
{
    var memFile = new MemoryFile();
    var zipArchive = new ZipArchive(memFile);
    using (new AutoBatchUpdate(zipArchive))
    {
        foreach (var entry in entries)
        {
            var zipEntry = zipArchive.CreateFile(entry.Item1, true);
            using (var targetStream = zipEntry.OpenWrite(true))
            {
                var srcStream = new MemoryStream(entry.Item2);
                srcStream.CopyTo(targetStream);
            }
            zipEntry.LastWriteDateTime = ConstantValues.ConstantZipEntryDateTime;
            zipEntry.LastAccessDateTime = ConstantValues.ConstantZipEntryDateTime;
            zipEntry.CreationDateTime = ConstantValues.ConstantZipEntryDateTime;
        }
    }
    var readStream = memFile.OpenRead();
    using (readStream)
    {
        var bytes = new byte[memFile.Size];
        readStream.Read(bytes, 0, bytes.Length);
        return bytes;
    }
}&lt;/pre&gt;

&lt;p&gt;This code is likely being called on at least 8 threads simultaneously, but I don't see anything that I would expect to not be thread-safe in this code or cause the exception that we're seeing.&lt;/p&gt;</description></item><item><title>Generated temporary filename was not unique - Please</title><link>http://xceed.com/CS/forums/thread/15797.aspx</link><pubDate>Wed, 01 Oct 2008 22:32:45 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:15797</guid><dc:creator>MoisesG</dc:creator><slash:comments>4</slash:comments><comments>http://xceed.com/CS/forums/thread/15797.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=15797</wfw:commentRss><description>&lt;P&gt;I try to create a new ZIP using function CreateFile but; I recive this message:&lt;/P&gt;
&lt;P&gt;&lt;FONT size=1&gt;&amp;nbsp;&lt;/FONT&gt;&lt;FONT face=Arial&gt;Generated temporary filename was not unique.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial&gt;Type: Xceed.FileSystem.DiskFile&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial&gt;FullName: C:\Documents and Settings\MARTHAXP\ASPNET\LOCALS~1\Temp\b0bca9ce-998b-422a-9c86-5288ef2934f8.tmp &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Please if everyone say something help me.&lt;/P&gt;</description></item><item><title>ItemDoesNotExistException at EndUpdate</title><link>http://xceed.com/CS/forums/thread/31929.aspx</link><pubDate>Thu, 29 Mar 2012 11:51:38 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:31929</guid><dc:creator>Thomas</dc:creator><slash:comments>5</slash:comments><comments>http://xceed.com/CS/forums/thread/31929.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=31929</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;we have update Xceed Zip from V3.6 to V4.3. We&amp;nbsp;pack a folder into a new zip file with optional split the new file.&lt;/p&gt;
&lt;p&gt;The code below works fine with the old version, but when I try it with the new version I get an ItemDoesNotExistException when I call&amp;nbsp;the EndUpdate Method in the finally block. If a do not use the split option, it is also ok.&lt;/p&gt;
&lt;p&gt;Kind regards &lt;/p&gt;
&lt;p&gt;Thomas&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;pre style="FONT-SIZE:13px;BACKGROUND:white;COLOR:black;FONT-FAMILY:Consolas;"&gt;		&lt;span style="COLOR:blue;"&gt;static&lt;/span&gt;&amp;nbsp;&lt;span style="COLOR:blue;"&gt;void&lt;/span&gt;&amp;nbsp;Main(&lt;span style="COLOR:blue;"&gt;string&lt;/span&gt;[]&amp;nbsp;args)
		{
			Xceed.Zip.&lt;span style="COLOR:#2b91af;"&gt;Licenser&lt;/span&gt;.LicenseKey&amp;nbsp;=&amp;nbsp;&lt;span style="COLOR:#a31515;"&gt;"license key"&lt;/span&gt;;
			&lt;span style="COLOR:#2b91af;"&gt;ZipEvents&lt;/span&gt;&amp;nbsp;events&amp;nbsp;=&amp;nbsp;&lt;span style="COLOR:blue;"&gt;new&lt;/span&gt;&amp;nbsp;&lt;span style="COLOR:#2b91af;"&gt;ZipEvents&lt;/span&gt;();
 
			&lt;span style="COLOR:#2b91af;"&gt;AbstractFile&lt;/span&gt;&amp;nbsp;zipFile&amp;nbsp;=&amp;nbsp;&lt;span style="COLOR:blue;"&gt;new&lt;/span&gt;&amp;nbsp;&lt;span style="COLOR:#2b91af;"&gt;DiskFile&lt;/span&gt;(&lt;span style="COLOR:#a31515;"&gt;"Test.zip"&lt;/span&gt;);
			&lt;span style="COLOR:blue;"&gt;if&lt;/span&gt;&amp;nbsp;(zipFile.Exists)
				zipFile.Delete();
 
			&lt;span style="COLOR:#2b91af;"&gt;AbstractFolder&lt;/span&gt;&amp;nbsp;sourceFolder&amp;nbsp;=&amp;nbsp;&lt;span style="COLOR:blue;"&gt;new&lt;/span&gt;&amp;nbsp;&lt;span style="COLOR:#2b91af;"&gt;DiskFolder&lt;/span&gt;(&lt;span style="COLOR:#a31515;"&gt;@"C:\Program&amp;nbsp;Files\Xceed&amp;nbsp;Components\Xceed&amp;nbsp;Zip&amp;nbsp;for&amp;nbsp;.NET&amp;nbsp;4.3"&lt;/span&gt;);
 
			&lt;span style="COLOR:#2b91af;"&gt;ZipArchive&lt;/span&gt;&amp;nbsp;zip&amp;nbsp;=&amp;nbsp;&lt;span style="COLOR:blue;"&gt;new&lt;/span&gt;&amp;nbsp;&lt;span style="COLOR:#2b91af;"&gt;ZipArchive&lt;/span&gt;(events,&amp;nbsp;&lt;span style="COLOR:blue;"&gt;null&lt;/span&gt;,&amp;nbsp;zipFile);
			
			events.ItemProgression&amp;nbsp;+=&amp;nbsp;events_ItemProgression;
			zip.BeginUpdate(events,&amp;nbsp;&lt;span style="COLOR:blue;"&gt;null&lt;/span&gt;);
			&lt;span style="COLOR:blue;"&gt;try&lt;/span&gt;
			{
				&lt;span style="COLOR:green;"&gt;//&amp;nbsp;Allow&amp;nbsp;this&amp;nbsp;zip&amp;nbsp;file&amp;nbsp;to&amp;nbsp;span.&lt;/span&gt;
				&lt;span style="COLOR:green;"&gt;//zip.AllowSpanning&amp;nbsp;=&amp;nbsp;true;&lt;/span&gt;
				zip.DefaultCompressionLevel&amp;nbsp;=&amp;nbsp;Xceed.Compression.&lt;span style="COLOR:#2b91af;"&gt;CompressionLevel&lt;/span&gt;.Normal;
 
				&lt;span style="COLOR:green;"&gt;//if&amp;nbsp;(this.splitArchive)&lt;/span&gt;
				&lt;span style="COLOR:green;"&gt;//{&lt;/span&gt;
				&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;zip.SplitNameFormat&amp;nbsp;=&amp;nbsp;&lt;span style="COLOR:#2b91af;"&gt;SplitNameFormat&lt;/span&gt;.PkZip;
				&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;zip.SplitSize&amp;nbsp;=&amp;nbsp;1048576;
				&lt;span style="COLOR:green;"&gt;//}&lt;/span&gt;
 
				&lt;span style="COLOR:green;"&gt;//&amp;nbsp;Zip&amp;nbsp;this&amp;nbsp;folder's&amp;nbsp;contents&lt;/span&gt;
				sourceFolder.CopyTo(events,&amp;nbsp;&lt;span style="COLOR:blue;"&gt;null&lt;/span&gt;,&amp;nbsp;zip,&amp;nbsp;&lt;span style="COLOR:blue;"&gt;true&lt;/span&gt;);
			}
			&lt;span style="COLOR:blue;"&gt;catch&lt;/span&gt;&amp;nbsp;(&lt;span style="COLOR:#2b91af;"&gt;FileSystemIOException&lt;/span&gt;&amp;nbsp;ioEx)
			{
				&lt;span style="COLOR:#2b91af;"&gt;Console&lt;/span&gt;.WriteLine(ioEx.ToString());
			}
			&lt;span style="COLOR:blue;"&gt;catch&lt;/span&gt;&amp;nbsp;(&lt;span style="COLOR:#2b91af;"&gt;Exception&lt;/span&gt;&amp;nbsp;ex)
			{
				&lt;span style="COLOR:#2b91af;"&gt;Console&lt;/span&gt;.WriteLine(ex.ToString());
			}
			&lt;span style="COLOR:blue;"&gt;finally&lt;/span&gt;
			{
				&lt;span style="COLOR:green;"&gt;//&amp;nbsp;Complete&amp;nbsp;the&amp;nbsp;batch&amp;nbsp;modification&amp;nbsp;of&amp;nbsp;this&amp;nbsp;zip&amp;nbsp;file.&lt;/span&gt;
				zip.EndUpdate(events,&amp;nbsp;&lt;span style="COLOR:blue;"&gt;null&lt;/span&gt;);
				events.ItemProgression&amp;nbsp;-=&amp;nbsp;events_ItemProgression;
			}
		}
 
		&lt;span style="COLOR:blue;"&gt;static&lt;/span&gt;&amp;nbsp;&lt;span style="COLOR:blue;"&gt;void&lt;/span&gt;&amp;nbsp;events_ItemProgression(&lt;span style="COLOR:blue;"&gt;object&lt;/span&gt;&amp;nbsp;sender,&amp;nbsp;&lt;span style="COLOR:#2b91af;"&gt;ItemProgressionEventArgs&lt;/span&gt;&amp;nbsp;e)
		{
			&lt;span style="COLOR:#2b91af;"&gt;Console&lt;/span&gt;.Write(&lt;span style="COLOR:#a31515;"&gt;"."&lt;/span&gt;);
		}
&lt;/pre&gt;</description></item><item><title>Does Zip for .NET support CAB compression/decompression</title><link>http://xceed.com/CS/forums/thread/31871.aspx</link><pubDate>Fri, 23 Mar 2012 00:44:40 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:31871</guid><dc:creator>Rodney</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/31871.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=31871</wfw:commentRss><description>&lt;p&gt;Greetings,&lt;/p&gt;&lt;p&gt;&amp;nbsp;I was playing with the trial version and its great and covers all the compression algorithms we are using in 7 of our 8 libraries. So it would be a WIN to migrate from 7 to 1. &amp;nbsp;However there is one we use just for CAB compression and decompression and I didn't see Xceed's Zip for .Net support it explicitly via its CompressionMethod enum.&amp;nbsp;Thought I would ask if it is supported in some way and if so can you provide an example of how.&lt;/p&gt;&lt;p&gt;Kind Regards,&lt;/p&gt;&lt;p&gt;&amp;nbsp;-Rodney&amp;nbsp;&lt;/p&gt;</description></item><item><title>Recover a file from a truncated Zip archive</title><link>http://xceed.com/CS/forums/thread/30108.aspx</link><pubDate>Tue, 29 Mar 2011 19:51:18 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:30108</guid><dc:creator>Steve</dc:creator><slash:comments>3</slash:comments><comments>http://xceed.com/CS/forums/thread/30108.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=30108</wfw:commentRss><description>&lt;p&gt;I've got a Zip archive that has been truncated so that the central directory is gone and the last file remaining within the archive is only a partial entry. &amp;nbsp;I'm able to get all the intact files from the archive using the ZipReader, but not the last partial entry at the tail end that was truncated. &amp;nbsp;Any thoughts on how I might go about decrypting/uncompressing and extracting the data that is there in what remains of that last file entry?&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;-Steve&amp;nbsp;&lt;/p&gt;</description></item><item><title>Some of my files timestamps gets changed</title><link>http://xceed.com/CS/forums/thread/31599.aspx</link><pubDate>Mon, 23 Jan 2012 09:22:19 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:31599</guid><dc:creator>Raamakarthikeyan.M</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/31599.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=31599</wfw:commentRss><description>&lt;P&gt;When i do an Unzip using xceed libraries, some of my files time stamps get changed to the current system date.&lt;/P&gt;
&lt;P&gt;I have &lt;/P&gt;
&lt;P&gt;Xceed.Zip - 2.2.5302.0&lt;/P&gt;
&lt;P&gt;Xceed.FileSystem - 2.2.5302.0&lt;/P&gt;
&lt;P&gt;xceed.compression - 2.2.5302.0&lt;/P&gt;</description></item><item><title>RealTime Zip for .NET throws ArgumentOutOfRangeException for offset parameter</title><link>http://xceed.com/CS/forums/thread/31680.aspx</link><pubDate>Tue, 14 Feb 2012 14:32:24 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:31680</guid><dc:creator>Martin</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/31680.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=31680</wfw:commentRss><description>&lt;p&gt;Its seems every time I have a large file (i.e. 9mb+) the while loop (on the last loop) will always through an argumentoutofrangeexception.&amp;nbsp; Am I doing something wrong, or is this a bug with the component.&amp;nbsp;&amp;nbsp; Here is my code sample below:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;
 
  
 

 
  Normal
  0
  
  
  
  
  false
  false
  false
  
  EN-US
  X-NONE
  X-NONE
  
   
   
   
   
   
   
   
   
   
  
  
  
   
   
   
   
   
   
   
   
   
   
   
  

 
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
 


 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-priority:99;
	mso-style-parent:"";
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin:0in;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:"Times New Roman";
	mso-bidi-theme-font:minor-bidi;}



&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // get original stream (assume it compressed already)and
set some properties&lt;/p&gt;

&lt;p class="MsoPlainText"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;using
(System.IO.MemoryStream compressedStream = new
System.IO.MemoryStream(context.Data.InternalBytes))&lt;/p&gt;

&lt;p class="MsoPlainText"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;/p&gt;

&lt;p class="MsoPlainText"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;compressedStream.Seek(0, System.IO.SeekOrigin.Begin);&lt;/p&gt;

&lt;p class="MsoPlainText"&gt;&amp;nbsp;&lt;/p&gt;

&lt;p class="MsoPlainText"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;//
set up a new stream to get the decompressed data&lt;/p&gt;

&lt;p class="MsoPlainText"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;using (System.IO.MemoryStream decompressedStream = new
System.IO.MemoryStream())&lt;/p&gt;

&lt;p class="MsoPlainText"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;/p&gt;

&lt;p class="MsoPlainText"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;// load the zip reader with original stream&lt;/p&gt;

&lt;p class="MsoPlainText"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;using (Xceed.Zip.ReaderWriter.ZipReader zipReader = new
Xceed.Zip.ReaderWriter.ZipReader(compressedStream, false))&lt;/p&gt;

&lt;p class="MsoPlainText"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;{&lt;/p&gt;

&lt;p class="MsoPlainText"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;if (!string.IsNullOrEmpty(password)) zipReader.EncryptionPassword =
password;&lt;/p&gt;

&lt;p class="MsoPlainText"&gt;&amp;nbsp;&lt;/p&gt;

&lt;p class="MsoPlainText"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;//Read the item's local header. this will also determine if its a zip&lt;/p&gt;

&lt;p class="MsoPlainText"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;try&lt;/p&gt;

&lt;p class="MsoPlainText"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;{&lt;/p&gt;

&lt;p class="MsoPlainText"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;itemHeader =
zipReader.ReadItemLocalHeader();&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; processAsZip = itemHeader != null;&lt;br&gt;&lt;/p&gt;

&lt;p class="MsoPlainText"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;}&lt;/p&gt;

&lt;p class="MsoPlainText"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;catch (Xceed.Zip.ReaderWriter.ZipReaderException zipEx)&lt;/p&gt;

&lt;p class="MsoPlainText"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;{&lt;/p&gt;



&lt;p class="MsoPlainText"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;if
(zipEx.Message.StartsWith("No zip header signature found",
StringComparison.InvariantCulture))&lt;/p&gt;

&lt;p class="MsoPlainText"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;/p&gt;

&lt;p class="MsoPlainText"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;//don't do
anything...just ignore because its not a zipped file&lt;/p&gt;

&lt;p class="MsoPlainText"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;}&lt;/p&gt;

&lt;p class="MsoPlainText"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;else&lt;/p&gt;

&lt;p class="MsoPlainText"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;throw;&lt;/p&gt;

&lt;p class="MsoPlainText"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;}&lt;/p&gt;

&lt;p class="MsoPlainText"&gt;&amp;nbsp;&lt;/p&gt;

&lt;p class="MsoPlainText"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;if (processAsZip)&lt;/p&gt;

&lt;p class="MsoPlainText"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;{&lt;/p&gt;

&lt;p class="MsoPlainText"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;int readBytesCount
= 0;&lt;/p&gt;

&lt;p class="MsoPlainText"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;byte[] readBytes = new byte[8192];&lt;/p&gt;

&lt;p class="MsoPlainText"&gt;&amp;nbsp;&lt;/p&gt;

&lt;p class="MsoPlainText"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;// Read data from
and write it to decompressedStream&lt;/p&gt;

&lt;p class="MsoPlainText"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;while
((readBytesCount = zipReader.ReadItemData(readBytes, 0, readBytes.Length)) &amp;gt;
0)&lt;/p&gt;

&lt;p class="MsoPlainText"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;{&lt;/p&gt;

&lt;p class="MsoPlainText"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;decompressedStream.Write(readBytes, 0, readBytesCount);&lt;/p&gt;

&lt;p class="MsoPlainText"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/p&gt;

&lt;p class="MsoPlainText"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;decompressedStream.Seek(0, System.IO.SeekOrigin.Begin);&lt;/p&gt;

&lt;p class="MsoPlainText"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;}&lt;/p&gt;

&lt;p class="MsoPlainText"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;}&lt;/p&gt;

&lt;p class="MsoPlainText"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;decompressedStream.Close();&lt;/p&gt;

&lt;p class="MsoPlainText"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/p&gt;

&lt;p class="MsoPlainText"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;compressedStream.Close();&lt;/p&gt;

&lt;p class="MsoPlainText"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Massive Memory Usage and memory doesn't release</title><link>http://xceed.com/CS/forums/thread/31627.aspx</link><pubDate>Tue, 31 Jan 2012 22:50:47 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:31627</guid><dc:creator>Drew</dc:creator><slash:comments>2</slash:comments><comments>http://xceed.com/CS/forums/thread/31627.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=31627</wfw:commentRss><description>&lt;p&gt;I'm using Xceed ZIP libraries in a Powershell script and reading zip files into a memory folder, opening each TIFF file in memory through OpenRead (I have to check the number of pages in a TIFF file). &amp;nbsp;I think my problem is that I can't get the memory used by the memory folder to release after each zip file is read in. &amp;nbsp;I am using the Delete() method at the end of each iteration of my for each loop as I loop through the zip files, but the memory isn't released. &amp;nbsp;I'm also actively disposing of the image file created from the stream in memory (I think). &amp;nbsp;Any ideas on what's causing the massive memory issues? &amp;nbsp;I'm talking like 2 GB of memory used after reading 5 zip files that are about 125MB.&lt;/p&gt;&lt;p&gt;I have a production license of 3.7&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Drew&amp;nbsp;&lt;/p&gt;</description></item><item><title>Estimate the expected compression rate</title><link>http://xceed.com/CS/forums/thread/31463.aspx</link><pubDate>Thu, 15 Dec 2011 09:26:16 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:31463</guid><dc:creator>Jens</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/31463.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=31463</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;we are currently testing the Xceed Ultimate Suite. In one of our projects, where we plan to use Xceed Zip, we have to estimate the expected compression rate of files and folders.&lt;/p&gt;&lt;p&gt;Is it possible to do such estimations with Xceed Zip without real compression of the files? If yes, which approach would you advise?&lt;/p&gt;&lt;p&gt;Best Regards,&lt;br&gt;Jens Horn &lt;br&gt;&lt;/p&gt;</description></item><item><title>Silverlight compression giving a different byte stream</title><link>http://xceed.com/CS/forums/thread/31439.aspx</link><pubDate>Fri, 09 Dec 2011 13:05:49 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:31439</guid><dc:creator>Huzan</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/31439.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=31439</wfw:commentRss><description>&lt;P&gt;Hi, &lt;/P&gt;
&lt;P&gt;I've used 2 different compression classes, one for .NET and one for Silverlight as follows:&lt;/P&gt;
&lt;P&gt;//------------------.NET--------------------&lt;/P&gt;
&lt;P&gt;XCeedZipLib.XceedCompressionClass.Compress()&lt;/P&gt;
&lt;P&gt;compression method=Deflated&lt;/P&gt;
&lt;P&gt;compression level=medium&lt;/P&gt;
&lt;P&gt;//---------------------------------------------&lt;/P&gt;
&lt;P&gt;//-----------Silverlight--------------------------&lt;/P&gt;
&lt;P&gt;XCeed.Compression.Formats.XCeedCompressedStream.Compress()&lt;/P&gt;
&lt;P&gt;compression method=Deflated&lt;/P&gt;
&lt;P&gt;compression level=normal&lt;/P&gt;
&lt;P&gt;//-------------------------------------------------&lt;/P&gt;
&lt;P&gt;However, the resulting byte stream with these two methods differ.&amp;nbsp; The number of bytes are same, but the last 2 bytes are different.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;Our requirement is to have the Silverlight compressed byte stream same as the .NET version.&lt;/P&gt;
&lt;P&gt;Why are the two resultant compressed streams different and how do i ensure that the Silverlight version should be the same as the .NET version?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help would be appreciated.&lt;/P&gt;
&lt;P&gt;Thanks and regards,&lt;/P&gt;</description></item><item><title>Open same zip file from various applications get exception</title><link>http://xceed.com/CS/forums/thread/31400.aspx</link><pubDate>Mon, 05 Dec 2011 12:17:44 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:31400</guid><dc:creator>Francisco</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/31400.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=31400</wfw:commentRss><description>&lt;p&gt;Hello, I am trying yo open a .zip file from various applications at same time but I get a xceeed exceptions.&lt;/p&gt;&lt;p&gt;Can I open in "share" or similar mode a .zip file with your component from various applications without get this error?&lt;br&gt;&lt;br&gt;This is how I am calling Xceed&lt;/p&gt;&lt;p&gt;&lt;font color="#2b91af" size="2" face="Consolas"&gt;&lt;font color="#2b91af" size="2" face="Consolas"&gt;&lt;font color="#2b91af" size="2" face="Consolas"&gt;QuickZip&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2" face="Consolas"&gt;&lt;font size="2" face="Consolas"&gt;.Unzip(filename, destination, password, &lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2" face="Consolas"&gt;&lt;font color="#0000ff" size="2" face="Consolas"&gt;&lt;font color="#0000ff" size="2" face="Consolas"&gt;true&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2" face="Consolas"&gt;&lt;font size="2" face="Consolas"&gt;, &lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2" face="Consolas"&gt;&lt;font color="#0000ff" size="2" face="Consolas"&gt;&lt;font color="#0000ff" size="2" face="Consolas"&gt;true&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2" face="Consolas"&gt;&lt;font size="2" face="Consolas"&gt;, &lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2" face="Consolas"&gt;&lt;font color="#0000ff" size="2" face="Consolas"&gt;&lt;font color="#0000ff" size="2" face="Consolas"&gt;true&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2" face="Consolas"&gt;&lt;font size="2" face="Consolas"&gt;, &lt;/font&gt;&lt;/font&gt;&lt;font color="#a31515" size="2" face="Consolas"&gt;&lt;font color="#a31515" size="2" face="Consolas"&gt;&lt;font color="#a31515" size="2" face="Consolas"&gt;"*"&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2" face="Consolas"&gt;&lt;font size="2" face="Consolas"&gt;);&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;{"The process cannot access the file&amp;nbsp;"........." because it is being used by another process."}&lt;/p&gt;&lt;p&gt;Thanks a lot&lt;/p&gt;</description></item><item><title>The relative name cannot be an absolute path. Parameter name: relativeName</title><link>http://xceed.com/CS/forums/thread/31364.aspx</link><pubDate>Thu, 24 Nov 2011 03:48:33 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:31364</guid><dc:creator>Simon</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/31364.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=31364</wfw:commentRss><description>&lt;p&gt;Hello&lt;/p&gt;&lt;p&gt;&amp;nbsp;I am trying to update a zip archive and I am getting an error "The relative name cannot be an absolute path.&lt;/p&gt;&lt;p&gt;Parameter name: relativeName". What am I doing wrong? The _documentFolder is valid and points back to the folder&lt;br&gt;&lt;/p&gt;&lt;p&gt;in the zip file where the file was extracted from. Below is the source code which is currently being used. The file name&lt;/p&gt;&lt;p&gt;which I am trying to replace is called document.xml.&lt;/p&gt;&lt;p&gt;Regards,&lt;/p&gt;&lt;p&gt;Simon &lt;/p&gt;&lt;p&gt;&amp;nbsp;// Initialize Class&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this._updatedDocumentFile = new MemoryFile(); &amp;nbsp;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Assign Value&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this._updatedDocumentFile.Name = "document.xml";&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Create&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; using (Stream stream = this._updatedDocumentFile.CreateWrite())&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Assign Value&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this._documentFileBuffer = ASCIIEncoding.ASCII.GetBytes(this._documentFileStringBuilder.ToString());&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Write&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; stream.Write(this._documentFileBuffer,&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0,&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this._documentFileBuffer.Length);&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Copy&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this._updatedDocumentFile.MoveTo(this._documentFolder,&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; true);&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>referencing problem</title><link>http://xceed.com/CS/forums/thread/31325.aspx</link><pubDate>Fri, 11 Nov 2011 14:31:28 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:31325</guid><dc:creator>Danny</dc:creator><slash:comments>2</slash:comments><comments>http://xceed.com/CS/forums/thread/31325.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=31325</wfw:commentRss><description>&lt;p&gt;I reference Xceed.Compression.Formats.v5.1.DLL in my project. My project has target .NET framework 3.5&lt;/p&gt;&lt;p&gt;Apparantly version 5.1 has target.NET framework 4.0 and my Visual Studio 2010 displays a warning when I add the reference. But it seems that I can use the dll. Unfortunatly after a build of the project Visual Studio suddenly complains about the XCeed namespace nog being recognized.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;When I switch my target framework in my project to 4.0 the problem goes away. But unfortunatly our clients are mostly on .NET framework 3.5 still.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Am I missing something here? &lt;br&gt;&lt;/p&gt;</description></item><item><title>renaming a file inside a zipped file without unzipping</title><link>http://xceed.com/CS/forums/thread/23265.aspx</link><pubDate>Mon, 10 Aug 2009 20:21:58 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:23265</guid><dc:creator>Richard</dc:creator><slash:comments>4</slash:comments><comments>http://xceed.com/CS/forums/thread/23265.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=23265</wfw:commentRss><description>&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT size=2&gt;How can I rename a file inside the zipped file without unzipping it? Is this possible to do? I'm using vb.net.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT size=2&gt;&lt;/FONT&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT size=2&gt;Thanks&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;</description></item><item><title>real-time download and unzip</title><link>http://xceed.com/CS/forums/thread/31180.aspx</link><pubDate>Tue, 11 Oct 2011 05:23:01 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:31180</guid><dc:creator>Anton</dc:creator><slash:comments>5</slash:comments><comments>http://xceed.com/CS/forums/thread/31180.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=31180</wfw:commentRss><description>&lt;p&gt;hi&lt;/p&gt;&lt;p&gt;I'm downloading a zipped file from server in chunks, 1 MB each.&lt;/p&gt;&lt;p&gt;the usual scenario would be to store as file as is and then unzip the whole file.&lt;/p&gt;&lt;p&gt;I need to be able to unzip on the fly - each chunk that was downloaded and save the unzipped part straight away.&lt;/p&gt;&lt;p&gt;so I do like this (to simulate):&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; using (FileStream fs1 = new FileStream(input, FileMode.Open, FileAccess.Read))&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;			&lt;/span&gt;using (MemoryStream ms = new MemoryStream())&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;			&lt;/span&gt;using (FileStream fs2 = new FileStream(output, FileMode.Create, FileAccess.Write))&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;			&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;			&lt;/span&gt;{&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;				&lt;/span&gt;int count;&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;				&lt;/span&gt;byte[] fileBytes = new byte[partSizeInBytes];&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;				&lt;/span&gt;bool headerRead = false;&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;				&lt;/span&gt;ZipReader zipReader = new ZipReader(ms);&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;				&lt;/span&gt;while ((count = fs1.Read(fileBytes, 0, partSizeInBytes))&amp;gt;0)&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;				&lt;/span&gt;{&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;					&lt;/span&gt;long prevPosition = ms.Position;&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;					&lt;/span&gt;ms.Write(fileBytes, 0, count);&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;					&lt;/span&gt;if (!headerRead)&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;					&lt;/span&gt;{&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;						&lt;/span&gt;try&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;						&lt;/span&gt;{&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;							&lt;/span&gt;ms.Seek(0, SeekOrigin.Begin);&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;							&lt;/span&gt;ZipItemLocalHeader zipItemLocalHeader = zipReader.ReadItemLocalHeader();&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;							&lt;/span&gt;headerRead = zipItemLocalHeader != null;&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;						&lt;/span&gt;}&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;						&lt;/span&gt;catch { }&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;						&lt;/span&gt;finally&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;						&lt;/span&gt;{&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;							&lt;/span&gt;ms.Seek(ms.Length, SeekOrigin.Begin);&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;						&lt;/span&gt;}&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;						&lt;/span&gt;if (!headerRead) continue;&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;					&lt;/span&gt;}&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;					&lt;/span&gt;else&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;					&lt;/span&gt;{&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;						&lt;/span&gt;ms.Seek(prevPosition, SeekOrigin.Begin);&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;					&lt;/span&gt;}&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;					&lt;/span&gt;try&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;					&lt;/span&gt;{&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;						&lt;/span&gt;byte[] buffer = new byte[partSizeInBytes];&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;						&lt;/span&gt;int read = 0;&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;						&lt;/span&gt;while ((read = zipReader.ReadItemData(buffer, 0, buffer.Length)) &amp;gt; 0)&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;						&lt;/span&gt;{&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;							&lt;/span&gt;fs2.Write(buffer, 0, read);&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;						&lt;/span&gt;}&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;					&lt;/span&gt;}&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;					&lt;/span&gt;finally&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;					&lt;/span&gt;{&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;						&lt;/span&gt;ms.Seek(ms.Length, SeekOrigin.Begin);&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;					&lt;/span&gt;}&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;				&lt;/span&gt;}&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;			&lt;/span&gt;}&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I can read the header nicely from the first chunk, but then when it gets to &amp;nbsp;ReadItemData, it throws exception "Expected end of stream not found" and it looks like I cannot unzip a piece of data without having some kind of a proper end of stream.&lt;/p&gt;&lt;p&gt;is there a way to do what I need?&amp;nbsp;&lt;/p&gt;&lt;p&gt;I also tried to read end of stream and append each time to the memory stream with no luck.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>An unexpected internal failure occurred in the FileSystem component, or one of its descendants</title><link>http://xceed.com/CS/forums/thread/31198.aspx</link><pubDate>Wed, 12 Oct 2011 14:33:02 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:31198</guid><dc:creator>Pieter</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/31198.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=31198</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I'm using zip for .net and in my application I can choose if I run the zip on the main thread or if I run it on a new thread. When I run it on the main thread I don't get any exceptions. If I switch it to use background threads then I sometimes get exceptions that mention an internal exception.&lt;/p&gt;&lt;p&gt;I wonder if I can use zip for .net in a multithreaded application or if I need to switch to the real time zip components you are selling.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Regards,&lt;/p&gt;&lt;p&gt;Pieter &lt;br&gt;&lt;/p&gt;</description></item><item><title>how to merge streams</title><link>http://xceed.com/CS/forums/thread/31115.aspx</link><pubDate>Thu, 29 Sep 2011 15:54:01 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:31115</guid><dc:creator>Anton</dc:creator><slash:comments>2</slash:comments><comments>http://xceed.com/CS/forums/thread/31115.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=31115</wfw:commentRss><description>&lt;p&gt;hi&lt;/p&gt;&lt;p&gt;the scenario is like this:&lt;/p&gt;&lt;p&gt;I have an application on client side, which takes some part (say 1 MB) from a large file, zips it and uploads to server. Repeat until all parts are uploaded.&lt;/p&gt;&lt;p&gt;and then I need to somehow merge or concatenate or whatever them into one file.&lt;/p&gt;&lt;p&gt;I thought to use real-time zip, but cannot figure out how to exactly...&lt;/p&gt;&lt;p&gt;summary: how to zip parts of file, upload and save as a single file?&amp;nbsp;&lt;/p&gt;</description></item><item><title>Zip Performance</title><link>http://xceed.com/CS/forums/thread/30692.aspx</link><pubDate>Thu, 07 Jul 2011 16:29:13 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:30692</guid><dc:creator>Tim</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/30692.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=30692</wfw:commentRss><description>&lt;p&gt;I recently began using Xceed Zip for .NET v5.0 and took a look at the sample code that ships with the install. I wanted to see how Xceed's performance is affected by very large encrypted Zip operations.&amp;nbsp; I need the resulting zip to be compatible with the latest WinZip.&lt;/p&gt;&lt;p&gt;I generated 140,000 files, each 1k in size and used the sample's &lt;strong&gt;AddFilesToZip&lt;/strong&gt; method to create the archive.&amp;nbsp; After 50 minutes of waiting, I killed the process.&amp;nbsp; I repeated the test, but turned off encryption and the whole zip process took around 9 and a half minutes.&lt;/p&gt;&lt;p&gt;I changed the code to use the QuickZip class, but it is performing equally slow.&lt;/p&gt;&lt;p&gt;Is there a more efficient mechanism in Xceed for adding hundreds of thousands of files to a zip archive?&lt;/p&gt;&lt;p&gt;** I realize that a more efficient approach would be to create an unencrypted zip and then zip that file with encryption.&amp;nbsp; This would let winzip read the file and would avoid WinZip's poor "encrypt every file individually" performance issue.&lt;/p&gt;&lt;p&gt;Thank you!&lt;/p&gt;</description></item><item><title>CopyFilesTo error: The relative name is empty or contains only whitespace</title><link>http://xceed.com/CS/forums/thread/30838.aspx</link><pubDate>Thu, 04 Aug 2011 16:59:04 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:30838</guid><dc:creator>James</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/30838.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=30838</wfw:commentRss><description>&lt;p&gt;I am getting an exception trying to write out a zip file that was created by a webservice using the java.util.zip package. &amp;nbsp; The zip file is quite simple and consists of a text file and a folder containing some images (gifs). &amp;nbsp; The file can be opened in WinZip w/o problems. &amp;nbsp;But when persisted using exceed on the client, the following error occurs.&lt;/p&gt;&lt;p&gt;I'm trying to determine which object the error is referring to. &amp;nbsp;And, actually, no object in the zip has spaces in it's name. &amp;nbsp; &amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks for any help!&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="color:#1F497D;"&gt;Exception Details:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;span style="color:#1F497D;"&gt;----------------------------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;span style="color:#1F497D;"&gt;Exception type:&amp;nbsp;
System.ArgumentException&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;span style="color:#1F497D;"&gt;Message:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
The relative name is empty or contains only whitespace.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;span style="color:#1F497D;"&gt;Parameter name: relativeName&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;span style="color:#1F497D;"&gt;Source:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
Xceed.FileSystem&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;span style="color:#1F497D;"&gt;Target
Site:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CopyFilesTo&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;span style="color:#1F497D;"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;span style="color:#1F497D;"&gt;Stack Trace:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;span style="color:#1F497D;"&gt;&amp;nbsp;&amp;nbsp; at
Xceed.FileSystem.AbstractFolder.CopyFilesTo(FileSystemEvents events, Object
userData, AbstractFolder destinationFolder, Boolean recursive, Boolean
replaceExistingFiles, Object[] filters)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;span style="color:#1F497D;"&gt;&amp;nbsp;&amp;nbsp; at
Xceed.FileSystem.AbstractFolder.CopyFilesTo(AbstractFolder destinationFolder,
Boolean recursive, Boolean replaceExistingFiles, Object[] filters)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;span style="color:#1F497D;"&gt;&amp;nbsp;&amp;nbsp; at
SAS.Report.Models.XML.XML.ExtractZipFile(String filename) in
c:\dev\5.1\winclient\Report\Source\models\xml\XML.cs:line 413&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>The calculated checksum differs from the stored checksum.</title><link>http://xceed.com/CS/forums/thread/30697.aspx</link><pubDate>Mon, 11 Jul 2011 13:59:42 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:30697</guid><dc:creator>m</dc:creator><slash:comments>4</slash:comments><comments>http://xceed.com/CS/forums/thread/30697.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=30697</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt; I have one GZip archive, which I try to decompress using &amp;nbsp;Xceed.Compression.Formats.GZipCompressedStream.&lt;/p&gt;&lt;p&gt;During decompessing I've got a error: "The calculated checksum differs from the stored checksum.".&lt;/p&gt;&lt;p&gt;But &amp;nbsp;when I tryied to decomress this file with&amp;nbsp;SharpZipLib.GZip.GZipInputStream or with 7-Zip - decomressing is ok.&amp;nbsp;&lt;/p&gt;&lt;p&gt;.Net &amp;nbsp;2.0,&amp;nbsp;Xceed.Compression version&amp;nbsp;4.2.10175.16000&amp;nbsp;&lt;/p&gt;&lt;p&gt;I can send this file, if need.&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks for advance.&amp;nbsp;&lt;/p&gt;</description></item><item><title>DiskFolder.Delete throws an exception</title><link>http://xceed.com/CS/forums/thread/30655.aspx</link><pubDate>Tue, 28 Jun 2011 14:49:06 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:30655</guid><dc:creator>Dmitry</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/30655.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=30655</wfw:commentRss><description>&lt;p&gt;Hi, &lt;/p&gt;&lt;p&gt;I use Xceed.Zip and try to compress a folder to zip-file as follows:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; private void CompressTo(string fileName)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var temp = new DiskFolder(TempFolder);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var zip = new ZipArchive(new DiskFile(fileName));&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; zip.BeginUpdate();&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; temp.CopyFilesTo(zip, true, true);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; finally&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; zip.EndUpdate();&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; temp.Delete();&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;&lt;p&gt;&amp;nbsp;When i try temp.Delete(), i have Xceed.FileSystem.ItemIsReadOnlyException:&lt;/p&gt;&lt;p&gt;Cannot perform the requested operation on an item that has the read-only attribute.&lt;/p&gt;&lt;p&gt;Type: Xceed.FileSystem.DiskFile&lt;/p&gt;&lt;p&gt;FullName: [User]\\AppData\\Local\\Temp\\81b57d21-0b25-44ce-a93c-ed34884e8eda\\media\\78566878-c4a1-480c-a8a0-f83f2fd2e7a2\\0720ae6c-ef79-4d77-8462-6b6d1c7e4ab1\\video.avi&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; at Xceed.FileSystem.DiskFile.DoDelete(FileSystemEventsSession session)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Xceed.FileSystem.FileSystemItem.ListDeleteCore(FileSystemEventsSession session, ItemPair currentItemPair)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Xceed.FileSystem.FileSystemItem.ListDelete(FileSystemEventsSession session)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Xceed.FileSystem.FileSystemItem.Delete(FileSystemEvents events, Object userData)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Xceed.FileSystem.FileSystemItem.Delete()&lt;br&gt;&amp;nbsp;&amp;nbsp; at iBwave.Mobile.Common.ZipSerializer.CompressTo(String fileName) in D:\Source\IBLIB\trunk\Internal\InternalProjects\iBwave.Mobile.Common\ZipSerializer.cs:line 160&lt;br&gt;&amp;nbsp;&amp;nbsp; at iBwave.Mobile.Common.ZipSerializer.Export(Project project, String fileName, Exception&amp;amp; ex) in D:\Source\IBLIB\trunk\Internal\InternalProjects\iBwave.Mobile.Common\ZipSerializer.cs:line 135 &lt;/p&gt;&lt;p&gt;Also, if i don't call DiskFolder.Delete() but instead try to delete my temp folder, i have pretty the same exception.&lt;/p&gt;&lt;p&gt;It is a bit surprising since i thought&amp;nbsp; that CopyFilesTo method is synchronous, but looks like it isn't.&lt;br&gt;&lt;/p&gt;&lt;p&gt;Is there any way to wait for compress operation is completed, or delete the folder in some other way?&lt;br&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Adding files to pre-existing zip files with Real time product</title><link>http://xceed.com/CS/forums/thread/30642.aspx</link><pubDate>Thu, 23 Jun 2011 21:42:18 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:30642</guid><dc:creator>Martin</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/30642.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=30642</wfw:commentRss><description>&lt;P&gt;How do I go about adding files to pre-existing zip files using the streaming product? Keep in mind, this archive was created and closed before I attempt to add the new file.&amp;nbsp; So far, I only replace the file in the zip instead of adding a new one.&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;ZipItemLocalHeader&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; itemHeader = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;new&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;ZipItemLocalHeader&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;(textBox_FileName.Text, &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;CompressionMethod&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;.Deflated64, &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;CompressionLevel&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;.Highest, &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;EncryptionMethod&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;.WinZipAes, &lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;""&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;);&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;if&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; (&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;File&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;.Exists(textBox_archive.Text))&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;FileStream&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; fstream = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;new&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;FileStream&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;(textBox_archive.Text,&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;FileMode&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;.Open,&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;FileAccess&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;.ReadWrite);&lt;/P&gt;
&lt;P&gt;fstream.Seek(0, &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;SeekOrigin&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;.End);&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;ZipWriter&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; zip = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;new&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;ZipWriter&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;(fstream);&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;FileStream&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; x = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;new&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;FileStream&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;(textBox_FileName.Text, &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;FileMode&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;.Open, &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;FileAccess&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;.Read);&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;ZipArchive&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; z = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;new&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;ZipArchive&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;(textBox_archive.Text);&lt;/P&gt;
&lt;P&gt;z.BeginUpdate();&lt;/P&gt;
&lt;P&gt;zip.WriteItemLocalHeader(itemHeader);&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;int&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; readBytesCount = 0;&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;byte&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;[] readBytes = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;new&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;byte&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;[8192];&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;while&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; ((readBytesCount = x.Read(readBytes, 0, readBytes.Length)) != 0)&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;zip.WriteItemData(readBytes, 0, readBytesCount);&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;x.Close();&lt;/P&gt;
&lt;P&gt;zip.CloseZipFile();&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;else&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;MemoryStream&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; compressedStream = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;new&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;MemoryStream&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;();&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;FileStream&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; fileStream = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;new&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;FileStream&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;(textBox_FileName.Text, &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;FileMode&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;.Open, &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;FileAccess&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;.Read);&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;ZipWriter&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; zipWriter = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;new&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;ZipWriter&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;(compressedStream);&lt;/P&gt;
&lt;P&gt;zipWriter.WriteItemLocalHeader(itemHeader);&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;int&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; readBytesCount = 0;&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;byte&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;[] readBytes = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;new&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;byte&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;[8192];&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;while&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; ((readBytesCount = fileStream.Read(readBytes, 0, readBytes.Length)) != 0)&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;zipWriter.WriteItemData(readBytes, 0, readBytesCount);&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;zipWriter.CloseZipFile();&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;FileStream&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; zip = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;new&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;FileStream&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;(textBox_archive.Text, &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;FileMode&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;.OpenOrCreate, &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;FileAccess&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;.Write);&lt;/P&gt;
&lt;P&gt;compressedStream.Seek(0, &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;SeekOrigin&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;.Begin);&lt;/P&gt;
&lt;P&gt;zip.Write(compressedStream.ToArray(), 0, (&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;int&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;)compressedStream.Length);&lt;/P&gt;
&lt;P&gt;zip.Close();&lt;/P&gt;
&lt;P&gt;fileStream.Close();&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;&lt;/FONT&gt;</description></item><item><title>Creating Zip with streams vs. files: problems reading with WinRAR and Java ZipInputStream</title><link>http://xceed.com/CS/forums/thread/30543.aspx</link><pubDate>Fri, 10 Jun 2011 21:18:28 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:30543</guid><dc:creator>Eric</dc:creator><slash:comments>2</slash:comments><comments>http://xceed.com/CS/forums/thread/30543.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=30543</wfw:commentRss><description>&lt;p&gt;I have been using Xceed.Zip to create zip files from streams for some years. After upgrading to version 4.2, clients were unable to read my Xceed-created-zip-files with the java ZipInputStream class. Their symptom is that the zip file appears to have only 1 entry.&lt;/p&gt;&lt;p&gt;Interesting items to note:&lt;/p&gt;&lt;p&gt;- When troubleshoot this, I noted that WinRAR reads the files correctly, but using WinRAR Tools &amp;gt; Repair Archive function exhibits the same symptoms: the "repaired" zip file has just one entry.&lt;/p&gt;&lt;p&gt;- When attempting to read the Xceed-created-zip-files using the java ZipFile class, all works well&lt;/p&gt;&lt;p&gt;- When creating the Xceed-created-zip-files under Xceed.Zip 2.0.113.0, all works well&lt;/p&gt;&lt;p&gt;- When creating the zip files using the Xceed 4.2 front end, the "one file problem" exists&lt;/p&gt;&lt;p&gt;- When creating the zip files using the Xceed 4.3 front end, all works well&lt;/p&gt;&lt;p&gt;- When creating the zip files using Xceed 4.3 (trial version) and streams, the "one file problem" exists&amp;nbsp;&lt;/p&gt;&lt;p&gt;- There was a java bug that was fixed years ago:&amp;nbsp;&lt;a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4635869"&gt;http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4635869&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4635869"&gt;&lt;/a&gt;Does anyone have any suggestions for guaranteeing readability with the widely used ZipInputSteam class?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Can you dynamically define a folder structure while streaming from ASP.NET?</title><link>http://xceed.com/CS/forums/thread/30383.aspx</link><pubDate>Fri, 20 May 2011 19:04:53 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:30383</guid><dc:creator>Justin</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/30383.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=30383</wfw:commentRss><description>&lt;p&gt;I'm attempting to zip and stream files from asp.net. I&amp;nbsp;found the following post which works great:&lt;/p&gt;&lt;p&gt;&lt;a href="http://xceed.com/CS/forums/permalink/13036/13034/ShowThread.aspx#13034"&gt;http://xceed.com/CS/forums/permalink/13036/13034/ShowThread.aspx#13034&lt;/a&gt;&lt;/p&gt;&lt;p&gt;However during this process I would like to change the folder structure.&lt;br&gt;My goal is to minimize disk and memory usage.&amp;nbsp;&lt;/p&gt;&lt;p&gt;Here is an example:&lt;/p&gt;&lt;p&gt;Given this DataSource:&lt;br&gt;&amp;lt;code&amp;gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;var fileList = new Dictionary&amp;lt;string, string&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{@"C:\Data\Files\1.txt",@"C:\Examples\1.txt"},&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{@"C:\Data\Files\2.txt",@"C:\Folder\2.txt"},&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{@"C:\Data\Files\3.txt",@"C:\Yesterday\3.txt"}&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;};&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;lt;code&amp;gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;And assuming my physical files &lt;/p&gt;&lt;p&gt;"C:\Data\Files\1.txt"&lt;br&gt;"C:\Data\Files\2.txt"&lt;br&gt;"C:\Data\Files\3.txt"&amp;nbsp;&lt;/p&gt;&lt;p&gt;When the user finishes downloading the zip, I would like the folder structure to be:&lt;/p&gt;&lt;p&gt;"C:\Examples\1.txt"&lt;br&gt;"C:\Folder\2.txt"&lt;br&gt;"C:\Yesterday\3.txt"&lt;/p&gt;&lt;p&gt;How do I accomplish this?&lt;/p&gt;</description></item><item><title>Gzip on the fly?</title><link>http://xceed.com/CS/forums/thread/30352.aspx</link><pubDate>Wed, 18 May 2011 14:05:21 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:30352</guid><dc:creator>David</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/30352.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=30352</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;Is it possible to create some gzip with the real-time performance?&lt;/p&gt;&lt;p&gt;I use zipwriter to zip some huge file but i have the same need with gzip.&lt;/p&gt;&lt;p&gt;Thanks,&amp;nbsp;&lt;/p&gt;</description></item><item><title>zip multiple directories and preserving path</title><link>http://xceed.com/CS/forums/thread/30330.aspx</link><pubDate>Wed, 11 May 2011 21:05:41 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:30330</guid><dc:creator>David</dc:creator><slash:comments>2</slash:comments><comments>http://xceed.com/CS/forums/thread/30330.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=30330</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Is there way to zip multiple directories to one zip file while preserving path.&lt;br&gt;I would like Backup.zip to contain:&lt;br&gt;Path1&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; apples.txt&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pear.txt&lt;br&gt;&amp;nbsp;&amp;nbsp; Mail&amp;nbsp; ----sub folder&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; letter1.txt&lt;br&gt;Path2&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; textbooks.txt&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mathbook.txt&lt;br&gt;&amp;nbsp;&amp;nbsp; USA ---sub folder&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; letter1.txt&lt;br&gt;&lt;br&gt;Dim file1 As New DiskFolder("\\WIN7\Path1")&lt;br&gt;Dim file2 As New DiskFolder("\\WIN7\Path2")&lt;br&gt;Dim zipFile As AbstractFile = New DiskFile("\\WIN7\Backup\Backup.zip")&lt;br&gt;Dim archive As New ZipArchive(zipFile)&lt;br&gt;&lt;br&gt;archive.BeginUpdate()&lt;br&gt;&lt;br&gt;&lt;br&gt;file1.CopyFilesTo(archive, True, True)&lt;br&gt;&lt;br&gt;For Each f As AbstractFolder In file1.GetFolders(False)&lt;br&gt;f.CopyTo(archive, True)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Next&lt;br&gt;file2.CopyFilesTo(archive, True, True)&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; For Each f As AbstractFolder In file2.GetFolders(False)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; f.CopyTo(archive, True)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Next&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; archive.EndUpdate()&lt;/p&gt;</description></item><item><title>Exception in Xceed.Zip.AesEncryptionStream.Dispose()</title><link>http://xceed.com/CS/forums/thread/22668.aspx</link><pubDate>Thu, 16 Jul 2009 17:10:14 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:22668</guid><dc:creator>Steve</dc:creator><slash:comments>2</slash:comments><comments>http://xceed.com/CS/forums/thread/22668.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=22668</wfw:commentRss><description>&lt;p&gt;On some large zip files, we will occasionally have a few entries within the zip that throw the following exception when they are extracted:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;i&gt;The calculated authentication value does not match the reported value.&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;Stacktrace:
   at Xceed.Zip.AesEncryptionStream.Dispose(Boolean disposing)
   at System.IO.Stream.Close()
   at Xceed.Compression.CompressedStream.Dispose(Boolean disposing)
   at System.IO.Stream.Close()
   at System.IO.Stream.Dispose()
   at &lt;/i&gt;&lt;i&gt;ExtractLib.Extractor.VerifyEntry(Int32 entry_num, ProgressCallBack callback, VerifyMethod verify_method)&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;So far we've only seen this issue come up on larger zip archives, typically those &amp;gt;1GB and &amp;gt;50000 files.&amp;nbsp; This may simply be coincidence, but we can't tell since we haven't seen this error on smaller zip archives.&amp;nbsp; For example, we had a 5GB archive with 161,000 files in it and 8 of the files threw this exception on extraction.&lt;br&gt;&lt;/p&gt;&lt;p&gt;The
files inside the zip archive that exhibit this error are extractable
and appear to be fully intact, but it does leave us wondering what this
error means and is it something to be concerned about.&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;-Steve &lt;br&gt;&lt;/p&gt;</description></item><item><title>Exception while trying to unzip - 'the filename is invalid'</title><link>http://xceed.com/CS/forums/thread/29961.aspx</link><pubDate>Tue, 01 Mar 2011 07:55:21 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:29961</guid><dc:creator>Eli</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/29961.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=29961</wfw:commentRss><description>&lt;div&gt;Hi,&lt;/div&gt;&lt;div&gt;While trying to unzip a zip file I'm getting an exception ArgumentException 'The filename is invalid'&lt;/div&gt;&lt;div&gt;&amp;nbsp;inner exception: {"The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters."}&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;It is the case - I have a large file name in the zip.&lt;/div&gt;&lt;div&gt;Is there a way to work around this issue?&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;The code:&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AbstractFile zipFile = new DiskFile(zip_file);&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ZipEvents events = CreateZipEvents();&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ZipArchive archive = new ZipArchive(zipFile);&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// "copy from a zip archive".&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AbstractFolder dest = new DiskFolder(target_dir);&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;archive.CopyFilesTo(events, null, dest, true, true);&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;I'm using Xceed zip 4.0&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;</description></item><item><title>Exceed Zip Components issues with International FileName and LongFile Names (More than 256 characters)</title><link>http://xceed.com/CS/forums/thread/25954.aspx</link><pubDate>Fri, 26 Feb 2010 11:06:39 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:25954</guid><dc:creator>chetan</dc:creator><slash:comments>2</slash:comments><comments>http://xceed.com/CS/forums/thread/25954.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=25954</wfw:commentRss><description>&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;"&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Verdana','sans-serif';mso-fareast-font-family:'Times New Roman';mso-bidi-font-family:'Times New Roman';"&gt;Hello ,&lt;BR&gt;&amp;nbsp;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;We have installed&amp;nbsp; &lt;/SPAN&gt;&lt;B&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Verdana','sans-serif';mso-bidi-font-size:11.0pt;mso-fareast-font-family:'Times New Roman';mso-bidi-font-family:'Times New Roman';"&gt;Xceed Zip for .NET 4.1&amp;nbsp; &lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Verdana','sans-serif';mso-fareast-font-family:'Times New Roman';mso-bidi-font-family:'Times New Roman';"&gt;on our Local Machine and Exceed Licensed Version that we are using is&amp;nbsp; &lt;/SPAN&gt;&lt;B&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Verdana','sans-serif';mso-bidi-font-size:11.0pt;mso-fareast-font-family:'Times New Roman';mso-bidi-font-family:'Times New Roman';"&gt;V3.2.10075.13300&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Verdana','sans-serif';mso-fareast-font-family:'Times New Roman';mso-bidi-font-family:'Times New Roman';"&gt;.&lt;/SPAN&gt;&lt;B&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Verdana','sans-serif';mso-bidi-font-size:11.0pt;mso-fareast-font-family:'Times New Roman';mso-bidi-font-family:'Times New Roman';"&gt; &lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Verdana','sans-serif';mso-fareast-font-family:'Times New Roman';mso-bidi-font-family:'Times New Roman';"&gt;We are Facing below two different&amp;nbsp; issues at the time of Zipping Process in VB.Net &lt;BR&gt;&amp;nbsp;&lt;BR&gt;&lt;/SPAN&gt;&lt;B&gt;&lt;U&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Verdana','sans-serif';mso-bidi-font-size:11.0pt;mso-fareast-font-family:'Times New Roman';mso-bidi-font-family:'Times New Roman';"&gt;1)Issue With InterNational FileNames :&lt;/SPAN&gt;&lt;/U&gt;&lt;/B&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Verdana','sans-serif';mso-fareast-font-family:'Times New Roman';mso-bidi-font-family:'Times New Roman';"&gt;&lt;BR&gt;&amp;nbsp;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; We have one File Name with Japnise naming format &lt;/SPAN&gt;&lt;B&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Verdana','sans-serif';mso-bidi-font-size:11.0pt;mso-fareast-font-family:'Times New Roman';mso-bidi-font-family:'Times New Roman';"&gt;b&lt;/SPAN&gt;&lt;/B&gt;&lt;B&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'MS Gothic';mso-bidi-font-size:11.0pt;mso-bidi-font-family:'MS Gothic';"&gt;あなたのお名前を入力してください&lt;/SPAN&gt;&lt;/B&gt;&lt;B&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Verdana','sans-serif';mso-bidi-font-size:11.0pt;mso-fareast-font-family:'Times New Roman';mso-bidi-font-family:Verdana;"&gt;_ReadOnly.docx .&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Verdana','sans-serif';mso-fareast-font-family:'Times New Roman';mso-bidi-font-family:'Times New Roman';"&gt; When we are creating the Zip file with belwo setting for the ZipArchive Object then we have set&amp;nbsp; &lt;/SPAN&gt;&lt;B&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Verdana','sans-serif';mso-bidi-font-size:11.0pt;mso-fareast-font-family:'Times New Roman';mso-bidi-font-family:'Times New Roman';"&gt;DefaultUnicodeUsagePolicy&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Verdana','sans-serif';mso-fareast-font-family:'Times New Roman';mso-bidi-font-family:'Times New Roman';"&gt; and &lt;/SPAN&gt;&lt;B&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Verdana','sans-serif';mso-bidi-font-size:11.0pt;mso-fareast-font-family:'Times New Roman';mso-bidi-font-family:'Times New Roman';"&gt;DefaultTextEncoding&amp;nbsp; &lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Verdana','sans-serif';mso-fareast-font-family:'Times New Roman';mso-bidi-font-family:'Times New Roman';"&gt;as shown in code Snippet&lt;BR&gt;&amp;nbsp;&lt;BR&gt;&lt;SPAN style="COLOR:green;"&gt;'Create a ZipArchive object to access the zip file&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR:blue;"&gt;Dim&lt;/SPAN&gt; zip &lt;SPAN style="COLOR:blue;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="COLOR:blue;"&gt;New&lt;/SPAN&gt; ZipArchive(zipFile)&lt;BR&gt;zip.DefaultCompressionMethod = CompressionMethod.Deflated&lt;BR&gt;zip.DefaultEncryptionPassword = &lt;SPAN style="COLOR:#a31515;"&gt;""&lt;BR&gt;&lt;/SPAN&gt;zip.DefaultEncryptionMethod = EncryptionMethod.Compatible&lt;BR&gt;zip.AllowSpanning = &lt;SPAN style="COLOR:blue;"&gt;True&lt;BR&gt;&lt;/SPAN&gt;&lt;U&gt;zip.DefaultUnicodeUsagePolicy = UnicodeUsagePolicy.Always&lt;/U&gt;&lt;BR&gt;&lt;U&gt;zip.DefaultTextEncoding = TextEncoding.Unicode&lt;/U&gt;&lt;BR&gt;&amp;nbsp;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Using the CopyTo and CopyFilesTo Functions File get successfully Zipped&amp;nbsp; at the required location but when we extract this file then is not shown in correct International Name Format . As shown below &lt;BR&gt;&amp;nbsp;&lt;BR&gt;&lt;/SPAN&gt;&lt;B&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Verdana','sans-serif';mso-bidi-font-size:11.0pt;mso-fareast-font-family:'Times New Roman';mso-bidi-font-family:'Times New Roman';"&gt;b_________________ReadOnly.docx&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Verdana','sans-serif';mso-fareast-font-family:'Times New Roman';mso-bidi-font-family:'Times New Roman';"&gt;&lt;BR&gt;&amp;nbsp;&lt;BR&gt;Please suggest proper way or change in source code to get international Filename Format when Zip File is get Extracted.&lt;BR&gt;&amp;nbsp;&lt;BR&gt;&lt;/SPAN&gt;&lt;B&gt;&lt;U&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Verdana','sans-serif';mso-bidi-font-size:11.0pt;mso-fareast-font-family:'Times New Roman';mso-bidi-font-family:'Times New Roman';"&gt;2)Issue With Long File Names&amp;nbsp;&lt;/SPAN&gt;&lt;/U&gt;&lt;/B&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Verdana','sans-serif';mso-fareast-font-family:'Times New Roman';mso-bidi-font-family:'Times New Roman';"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;"&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Verdana','sans-serif';mso-fareast-font-family:'Times New Roman';mso-bidi-font-family:'Times New Roman';"&gt;&lt;BR&gt;At the time of Zipping we are&amp;nbsp;Using the&amp;nbsp; DiskFolder,ZipArchive and DiskFile&amp;nbsp;Objects.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;"&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Verdana','sans-serif';mso-fareast-font-family:'Times New Roman';mso-bidi-font-family:'Times New Roman';"&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;"&gt;&lt;SPAN style="FONT-SIZE:10pt;COLOR:green;FONT-FAMILY:'Verdana','sans-serif';mso-fareast-font-family:'Times New Roman';mso-bidi-font-family:'Times New Roman';"&gt;'Create a DiskFile object for the specified zip filename&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;"&gt;&lt;SPAN style="FONT-SIZE:10pt;COLOR:blue;FONT-FAMILY:'Verdana','sans-serif';mso-fareast-font-family:'Times New Roman';mso-bidi-font-family:'Times New Roman';"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Verdana','sans-serif';mso-fareast-font-family:'Times New Roman';mso-bidi-font-family:'Times New Roman';"&gt; zipFile &lt;SPAN style="COLOR:blue;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="COLOR:blue;"&gt;New&lt;/SPAN&gt; DiskFile(zipFilename)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;"&gt;&lt;SPAN style="FONT-SIZE:10pt;COLOR:green;FONT-FAMILY:'Verdana','sans-serif';mso-fareast-font-family:'Times New Roman';mso-bidi-font-family:'Times New Roman';"&gt;'Create a DiskFolder object for the specified zip filename&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;"&gt;&lt;SPAN style="FONT-SIZE:10pt;COLOR:blue;FONT-FAMILY:'Verdana','sans-serif';mso-fareast-font-family:'Times New Roman';mso-bidi-font-family:'Times New Roman';"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Verdana','sans-serif';mso-fareast-font-family:'Times New Roman';mso-bidi-font-family:'Times New Roman';"&gt; source &lt;SPAN style="COLOR:blue;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="COLOR:blue;"&gt;New&lt;/SPAN&gt; DiskFolder(sourceFolder)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;"&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Verdana','sans-serif';mso-fareast-font-family:'Times New Roman';mso-bidi-font-family:'Times New Roman';"&gt;&lt;BR&gt;we are using the&amp;nbsp;Long Filenames in our Application and our Media of Storage supports more than 256 characters FileNames.&amp;nbsp;At the time of Exceed&amp;nbsp;Zip processing using DiskFolder Object&amp;nbsp;, &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;"&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Verdana','sans-serif';mso-fareast-font-family:'Times New Roman';mso-bidi-font-family:'Times New Roman';"&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;"&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Verdana','sans-serif';mso-fareast-font-family:'Times New Roman';mso-bidi-font-family:'Times New Roman';"&gt;Component Fires below mentioned error&lt;BR&gt;&amp;nbsp;&lt;BR&gt;&lt;SPAN style="COLOR:red;"&gt;An unexpected internal failure occurred in the FileSystem component, or one of its descendants. Type: Xceed.FileSystem.DiskFolder FullName:&lt;/SPAN&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;"&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Verdana','sans-serif';mso-fareast-font-family:'Times New Roman';mso-bidi-font-family:'Times New Roman';"&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 12pt;LINE-HEIGHT:normal;"&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Verdana','sans-serif';mso-fareast-font-family:'Times New Roman';mso-bidi-font-family:'Times New Roman';"&gt;Please suggest correct Solution to this issue so that&amp;nbsp; we can proceed Further.&lt;BR&gt;&amp;nbsp;&lt;BR&gt;&lt;/SPAN&gt;&lt;/P&gt;</description></item><item><title>Unexpected Internal Failure Error Message (Xceed.FileSystem.MemoryFile)</title><link>http://xceed.com/CS/forums/thread/29967.aspx</link><pubDate>Wed, 02 Mar 2011 20:27:46 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:29967</guid><dc:creator>Mike</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/29967.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=29967</wfw:commentRss><description>&lt;P&gt;We've got an older .NET 1.1 program that uses FTP for .NET and ZIP for .NET.&amp;nbsp; A customer got the follow error message yesterday:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;An unexpected internal failure occurred in the FileSystem component, or one of its descendants.&amp;nbsp; Type: Xceed.FileSystem.MemoryFile&amp;nbsp; FullName: RAMDRIVE:\folder\XFS343b55d0-55d9-4ec2-969a-b84c2823f456.tmp&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I know there have been posts about other "unexpected internal failure" messages, but has&amp;nbsp;anyone seen one of this nature, and if you have, did you find a fix?&lt;/P&gt;
&lt;P&gt;Here are the assembly versions:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Xceed.FileSystem.dll&amp;nbsp; 2.1.4579.0&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Xceed.Ftp.dll&amp;nbsp; 2.0.4579.0&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Xceed.Zip.dll&amp;nbsp; 2.1.4579.0&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;-Mike&lt;/P&gt;
&lt;P&gt;PS - Here is the stack trace:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 
&lt;TABLE cellSpacing=0 bgColor=#ffffff&gt;&lt;FONT color=#000000 face=Calibri&gt;
&lt;B&gt;ExceptionLog&lt;/B&gt;&lt;/FONT&gt;

&lt;TR&gt;
&lt;TH&gt;&lt;FONT style="FONT-SIZE:11pt;" color=#000000 face=Calibri&gt;StackTrace&lt;/FONT&gt;&lt;/TH&gt;&lt;/TR&gt;

&lt;TR&gt;
&lt;TD&gt;&lt;FONT style="FONT-SIZE:11pt;" color=#000000 face=Calibri&gt;at Xceed.FileSystem.FileSystemItem.CopyTo(FileSystemEvents events, Object userData, AbstractFolder destinationFolder, Boolean replaceExistingFiles)&lt;BR&gt;at Xceed.FileSystem.FileSystemItem.CopyTo(AbstractFolder destinationFolder, Boolean replaceExistingFiles)&lt;BR&gt;at Ivans.Ecs.Tm.ZIPCompression.RunCompression(String inFilePath, String outFilePath)&lt;BR&gt;at Ivans.Ecs.Tm.ZIPCompression.RunCompress(String inFilePath, String outFilePath)&lt;BR&gt;at Ivans.Ecs.Tm.Session.ApplySendArchiveCompress(SessionSendArchive currentSendArchive, SendClass activeSendClass)&lt;BR&gt;at Ivans.Ecs.Tm.Session.InitNewSendArchive(SendProfile currentSendProfile, Mailbox sendFromMailbox)&lt;BR&gt;at Ivans.Ecs.Tm.Session.ProcessAndQueueSendProfile(SendProfile currentSendProfile)&lt;BR&gt;at Ivans.Ecs.Tm.Session.QueueSendProfile(SendProfile currentSendProfile)&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;/TABLE&gt;&lt;/P&gt;</description></item><item><title>Zipping is not synchronous?</title><link>http://xceed.com/CS/forums/thread/24177.aspx</link><pubDate>Fri, 25 Sep 2009 12:46:08 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:24177</guid><dc:creator>Jean Christophe</dc:creator><slash:comments>3</slash:comments><comments>http://xceed.com/CS/forums/thread/24177.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=24177</wfw:commentRss><description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I do a loop and I zip a file at each iteration.&lt;/P&gt;
&lt;P&gt;When the loop ends,&amp;nbsp;the zipping is not finished (I see the zips are still coming in the working directory).&lt;/P&gt;
&lt;P&gt;Is the zipping&amp;nbsp;asynchronous?&amp;nbsp;is it possible to make it synchronous?&lt;/P&gt;&lt;FONT size=2&gt;
&lt;P&gt;I use the following code to zip : diskFolder.CopyFilesTo(archief, &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;true&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;, &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;true&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;Thanks for your help&lt;/FONT&gt;&lt;/P&gt;</description></item><item><title>Exception opening Zip file containing "long path" entries</title><link>http://xceed.com/CS/forums/thread/29792.aspx</link><pubDate>Wed, 09 Feb 2011 19:34:06 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:29792</guid><dc:creator>Steve</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/29792.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=29792</wfw:commentRss><description>&lt;p&gt;I'm using Zip.Net and Realtime Zip 4.0. &amp;nbsp;Using the realtime zip I am zipping multiple files that have long absolute paths (i.e., greater than 255 chars) into an archive. This is not an issue and everything goes well. The issue arises when I try to open the resulting zip file using:&lt;/p&gt;&lt;p&gt;ZipArchive za = new ZipArchive(new DiskFile("myzip.zip"));&lt;/p&gt;&lt;p&gt;On this line it throws: Xceed.Zip.ZipIOException: "An IO exception occurred while reading from or writing to the zip file."&lt;/p&gt;&lt;p&gt;The exception is thrown only on zip archives that contain files with long absolute paths.&amp;nbsp;I am able to open and extract the contents of these zip files that have entries with long paths with no problem using the latest 7-zip. Looking at the zip file with a hex editor reveals that the ASCII and Unicode versions of the file names are intact and everything looks normal.&lt;/p&gt;&lt;p&gt;This seems to be a bug. Does a newer release of Xceed Zip address this issue?&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;-Steve&amp;nbsp;&lt;/p&gt;</description></item><item><title>Unknown tar format</title><link>http://xceed.com/CS/forums/thread/4703.aspx</link><pubDate>Mon, 04 Dec 2006 17:10:05 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:4703</guid><dc:creator>sallen</dc:creator><slash:comments>5</slash:comments><comments>http://xceed.com/CS/forums/thread/4703.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=4703</wfw:commentRss><description>I am successfully unzipping tar files from various sources, but one is failing with&lt;br /&gt;the following exception "An unknown tar format was encountered. Xceed.Filesystem.Diskfile"&lt;br /&gt;at this line of code :  Dim tarArchive As New TarArchive(file).&lt;br /&gt;This is not a single corrupt file, as all tar files from this source are the same.&lt;br /&gt;Is there anything I can do to examine this file to find out what's wrong. Is there a workaround for such a problem?&lt;br /&gt;</description></item><item><title>Files/Folders missing after unzip</title><link>http://xceed.com/CS/forums/thread/25097.aspx</link><pubDate>Mon, 07 Dec 2009 15:41:41 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:25097</guid><dc:creator>Andrew</dc:creator><slash:comments>2</slash:comments><comments>http://xceed.com/CS/forums/thread/25097.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=25097</wfw:commentRss><description>&lt;p&gt;I have a .zip file created elsewhere that my app needs to unzip. The archive contains numerous files and folders (the file itself is about 350Mb zipped, 900Mb+ unzipped) of all different sizes and depths. When I have the Xceed component unzip it, everything seems fine, but there are a handful of folders and a couple files that don't get unpacked. The folders are empty folders (though still necessary) but not sure about the files.&lt;/p&gt;&lt;p&gt;&amp;nbsp;The code I am using (_ArchiveFile and _UnzipFolder are properties set prior to method execution):&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Try&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Cursor = Cursors.WaitCursor&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dim zip As New ZipArchive(New DiskFile(_ArchiveFile))&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dim folder As New DiskFolder(_UnzipFolder)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;zip.CopyFilesTo(folder, True, True)&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Catch ex As Exception&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Cursor = Cursors.Default&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Throw New Exception(String.Format("Unzip Failed:{0}{1}", vbCrLf, ex))&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Finally&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Cursor = Cursors.Default&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;End Try&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;End Sub&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;What is it I am doing or not doing (right/wrong) that could be causing this? Thanks&lt;/p&gt;&lt;p&gt;&amp;nbsp;-- Andrew&amp;nbsp;&lt;/p&gt;</description></item><item><title>Get files from a Zip within a Zip works in 2.0 but not 4.2</title><link>http://xceed.com/CS/forums/thread/27831.aspx</link><pubDate>Fri, 30 Jul 2010 20:59:04 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:27831</guid><dc:creator>aaron</dc:creator><slash:comments>2</slash:comments><comments>http://xceed.com/CS/forums/thread/27831.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=27831</wfw:commentRss><description>&lt;p&gt;I used to be able to get files from a zip within a zip (see following example)&lt;br&gt;&lt;/p&gt;&lt;span style="font-size:10pt;font-family:'Courier New';"&gt;&lt;span style="color:green;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;font-family:'Courier New';"&gt;ParentZipFile.zip&lt;br&gt;&amp;nbsp; ChildFile1.txt&lt;br&gt;&amp;nbsp; ChildFile2.txt&lt;br&gt;&lt;/span&gt;&lt;span style="font-size:10pt;font-family:'Courier New';"&gt;&amp;nbsp; ChildZipFile.zip&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="text-decoration:underline;"&gt;GrandChildFile1.txt&lt;/span&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;span style="text-decoration:underline;"&gt;GrandChildFile2.txt&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;But now get an exception when the following code is run&lt;/p&gt;&lt;p class="MsoNormal"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="font-weight:bold;"&gt;Dim &lt;/span&gt;ParentZipDiskFile &lt;span style="font-weight:bold;"&gt;As New Xceed.FileSystem.DiskFile&lt;/span&gt;("ParentZipFile.zip")&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="font-weight:bold;"&gt;Dim &lt;/span&gt;ParentZipArchive &lt;span style="font-weight:bold;"&gt;As New Xceed.Zip.ZipArchive&lt;/span&gt;(ParentZipDiskFile)&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="font-weight:bold;"&gt;Dim &lt;/span&gt;ChildZippedFile &lt;span style="font-weight:bold;"&gt;As Xceed.Zip.ZippedFile &lt;/span&gt;= &lt;span style="font-weight:bold;"&gt;ParentZipArchive.GetFile&lt;/span&gt;("ChildZipFile.zip")&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ' &lt;span style="text-decoration:underline;"&gt;This works in 2.0 and FAILS 4.2&lt;/span&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="font-weight:bold;"&gt;Dim &lt;/span&gt;ChildZipArchive &lt;span style="font-weight:bold;"&gt;As New Xceed.Zip.ZipArchive&lt;/span&gt;(ChildZippedFile)&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.ArgumentException was unhandled&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Message = "The inner stream must be seekable."&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Source = "Xceed.Zip"&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; StackTrace:&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Xceed.Zip.ZipStream..ctor(FileSystemEventsSession session, ZipStorage storage, Stream stream, Boolean forWriting)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Xceed.Zip.ZipRefreshStream..ctor(FileSystemEventsSession session, ZipStorage storage, Stream stream, Boolean forWriting)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Xceed.Zip.ZipHandler.OnPreparingRefreshStream(FileSystemEventsSession session, FileShare share, Stream stream)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Xceed.Utils.Storage.StorageHandler.Refresh(FileSystemEventsSession session, Boolean forceRefresh)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Xceed.Zip.ZipHandler.GetZipHandler(FileSystemEventsSession session, AbstractFile zipFile)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Xceed.Zip.ZippedFolder..ctor(FileSystemEvents events, Object userData, AbstractFile zipFile, String folderName)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Xceed.Zip.ZipArchive..ctor(FileSystemEvents events, Object userData, AbstractFile zipFile)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Xceed.Zip.ZipArchive..ctor(AbstractFile zipFile)&lt;/p&gt;&lt;p class="MsoNormal"&gt;Any ideas on a (non-clunky) workaround? or perhaps this is a bug in 4.2 ?&lt;/p&gt;&lt;p class="MsoNormal"&gt;thanks! &lt;br&gt;&lt;/p&gt;</description></item><item><title>How to specify the temporary path in which the temporary zipped file is created?</title><link>http://xceed.com/CS/forums/thread/29570.aspx</link><pubDate>Mon, 10 Jan 2011 08:20:15 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:29570</guid><dc:creator>Andrew</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/29570.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=29570</wfw:commentRss><description>&lt;P&gt;We have an application zipping a user folder&amp;nbsp;to 10M size&amp;nbsp;splitted&amp;nbsp;zipped files. The application is running on Window 2003 server.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I notice class ZipArchive first create a temporary file under [%UserProFile%]\Local Setting\Temp, and then create the splitted zipped files in target.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;The problem is [%UserProFile%]\Local Setting\Temp is always in C: drive and not much free space. When zipping a folder over 10G, it always failed. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;Can we change the path in which the temporary file is created?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I am looking forward to your answers. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;Best regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Andrew&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description></item><item><title>Self-extracting zip hanging at Overall Progress screen</title><link>http://xceed.com/CS/forums/thread/29543.aspx</link><pubDate>Wed, 29 Dec 2010 16:29:15 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:29543</guid><dc:creator>Richard</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/29543.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=29543</wfw:commentRss><description>&lt;P&gt;I have created a very simple self-extracting zip with several files in it.&amp;nbsp; If I open the EXE with WinRAR or 7Zip I can see the folders/files correctly.&amp;nbsp; When I execute the EXE it goes through the intro screen and target folder selection steps properly.&amp;nbsp; But when it gets to the progress bar step it then hangs and consistently uses about 50% CPU.&amp;nbsp; I am developing in Windows 7 with Visual Studio 2008.&amp;nbsp; I have included the simplest steps below that I call in a "Utilities" project.&amp;nbsp; Is there a known issue or am I missing something else from the process of generating the file?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Rich&amp;nbsp;&lt;/P&gt;&lt;FONT size=2&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;public&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;static&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;ZipArchive&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; CreateZip(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;string&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; tempDir)&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;string&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; zipFileName = &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;Guid&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;.NewGuid().ToString(&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;"N"&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;) + &lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;".exe"&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;;&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;DiskFile&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; diskFile = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;new&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;DiskFile&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;(&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;Path&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;.Combine(tempDir, zipFileName));&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;if&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; (!diskFile.Exists)&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;diskFile.Create();&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;ZipArchive&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; zip = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;new&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;ZipArchive&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;(diskFile);&lt;/P&gt;
&lt;P&gt;zip.DefaultCompressionMethod = Xceed.Compression.&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;CompressionMethod&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;.Deflated;&lt;/P&gt;
&lt;P&gt;zip.AllowSpanning = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;false&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;;&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;&lt;FONT color=#008000 size=2&gt;// get the xceed bin file from the embedded resource&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;using&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; (&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;Stream&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; resourceStream = &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;Assembly&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;.GetExecutingAssembly().GetManifestResourceStream(&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;"abc.xcdsfx32_highestAvailable.bin"&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;))&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;XceedSfxPrefix&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; sfx = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;new&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;XceedSfxPrefix&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;new&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;StreamFile&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;(resourceStream));&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;zip.SfxPrefix = sfx;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;return&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; zip;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;&lt;FONT size=2&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;public&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;static&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;void&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; AddFile(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;byte&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;[] fileContents, &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;string&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; fileName, &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;AbstractFolder&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; destinationFolder)&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;MemoryFile&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; memoryFile = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;new&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;MemoryFile&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;(&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;@"RAM:\"&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; + fileName);&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;if&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; (!memoryFile.Exists)&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;memoryFile.Create();&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;using&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; (&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;Stream&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; stream = memoryFile.OpenWrite(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;true&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;))&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;stream.Write(fileContents, 0, fileContents.Length);&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;memoryFile.CopyTo(destinationFolder, &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;true&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;);&lt;/P&gt;
&lt;P&gt;memoryFile.Delete();&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;</description></item><item><title>How Do I Rename The Files Within A ZIP File When Extracting?</title><link>http://xceed.com/CS/forums/thread/29346.aspx</link><pubDate>Tue, 30 Nov 2010 19:10:30 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:29346</guid><dc:creator>Robert</dc:creator><slash:comments>3</slash:comments><comments>http://xceed.com/CS/forums/thread/29346.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=29346</wfw:commentRss><description>&lt;FONT size=2 face=Helv&gt;&lt;FONT size=2 face=Helv&gt;
&lt;P dir=ltr&gt;Hello,&lt;/P&gt;
&lt;P dir=ltr&gt;I am trying to figure out how to do the following. I need to unzip a file into a directory. If the ZIP file has been saved with folder files inside folders, I need to ignore all of the paths. As each file is extracted from the zip, I need to save it with a name of my choosing.&lt;/P&gt;
&lt;P dir=ltr&gt;For example, if there was a ZIP file saved with these 3 files with these original paths:&lt;/P&gt;
&lt;P dir=ltr&gt;c:\MyDir\abc.txt&lt;BR&gt;C:\MyDir\xyx.txt&lt;BR&gt;C:\AnotherDir\SubDir\abc.txt&lt;/P&gt;
&lt;P dir=ltr&gt;I want to write out the 3 files to C:\NewDir without any subdirectories and with new names like this:&lt;/P&gt;
&lt;P dir=ltr&gt;C:\NewDir\1.txt&lt;BR&gt;C:\NewDir\2.txt&lt;BR&gt;C:\NewDir\3.txt&lt;/P&gt;
&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;</description></item><item><title>How to change a password for a zip file</title><link>http://xceed.com/CS/forums/thread/29311.aspx</link><pubDate>Wed, 24 Nov 2010 23:00:18 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:29311</guid><dc:creator>CrazyGeek</dc:creator><slash:comments>2</slash:comments><comments>http://xceed.com/CS/forums/thread/29311.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=29311</wfw:commentRss><description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to change the password for a zip file. &lt;/P&gt;
&lt;P&gt;Currently I am unzipping the file with an&amp;nbsp;Old password and zipping back&amp;nbsp;with a&amp;nbsp;New password. The zip files are huge, So&amp;nbsp;is there any other way that I can simply change the password with out unzipping and zipping files.&lt;/P&gt;</description></item><item><title>XCeed ZIP V5.0 .NET 4.0 PPMD</title><link>http://xceed.com/CS/forums/thread/29111.aspx</link><pubDate>Wed, 03 Nov 2010 15:52:46 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:29111</guid><dc:creator>Gary</dc:creator><slash:comments>6</slash:comments><comments>http://xceed.com/CS/forums/thread/29111.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=29111</wfw:commentRss><description>&lt;p&gt;We have recently upgraded our app to .net 4.0. &amp;nbsp;Our app was previously using XCeed 3.6.xxxx with .NET 2.0. &amp;nbsp;We expereicned issues using the old version of XCeed in .net 4.0 so we decided to upgrade to XCeed zip V5.0.&lt;/p&gt;&lt;p&gt;Unzipping some files on my dev machine seemed to work fine, however when testing on a VM with Windows XP I would get the error:&lt;/p&gt;&lt;p&gt;System.Reflection.TargetInvocationException: Xceed.Compression.PPMd.dll must be referenced as Copy Local in order to use PPMd CompressionMethod ---&amp;gt; System.NullReferenceException: Object reference not set to an instance of an object.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; at Xceed.Compression.ManagedPPMdDecompressor..ctor(Assembly ppmdAssembly)&lt;/p&gt;&lt;p&gt;I noticed that the PPMD assembly requires a C++ dependency. &amp;nbsp;After installing&amp;nbsp;&lt;span class="Apple-style-span" style="font-family:Tahoma, Arial, sans-serif;font-weight:bold;"&gt;Microsoft Visual C++ 2010 Redistributable Package (x86),&lt;/span&gt;&lt;/p&gt;&lt;p&gt;on the XP VM I am now able to properly de-compress the files our app uses.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;On the old version of XCeed I didn't appear to need any external C++ installation. &amp;nbsp;If I reflect on the old version I don't see any COM dependencies, but in the new version I see MSVCR100.dll &amp;nbsp;Why do we need it in this version? &amp;nbsp;Is there any way to use the PPMD without it? &amp;nbsp;What are my options for deployment? &amp;nbsp;Is there some sort of side-by-side deployment for MSVCR100.dll? &amp;nbsp;Is there a way to link in MSVCR100.dll with the XCeed.Compressoin.PPMd.V5.0.dll?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks in advanced&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Storing Relative Paths using preservePaths property?</title><link>http://xceed.com/CS/forums/thread/28936.aspx</link><pubDate>Thu, 07 Oct 2010 22:23:36 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:28936</guid><dc:creator>Charles</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/28936.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=28936</wfw:commentRss><description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am trying to zip specific contents of a folder while preserving the relative path of the files.&amp;nbsp; Here is an example of what I mean:&lt;/P&gt;
&lt;P&gt;I have the following folder structure:&lt;/P&gt;
&lt;P&gt;\a.txt&lt;/P&gt;
&lt;P&gt;\b.txt&lt;/P&gt;
&lt;P&gt;\folder\c.txt&lt;/P&gt;
&lt;P&gt;\folder\innerfolder\d.txt&lt;/P&gt;
&lt;P&gt;\folder\innerfolder\e.txt&lt;/P&gt;
&lt;P&gt;and I am attempting to zip only files a c and d.&amp;nbsp; When using the preservePaths property, the full path of the file is stored (e:\blah\blah\blah\folder\innerfolder\) instead of the relative path (\folder\innerfolder)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Btw, the files to be zipped are determined by a manifest xml file, so a simple filter won't work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there any way to select specific files to zip while preserving their relative paths?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Chuck&lt;/P&gt;</description></item><item><title>Unexpected end of stream while reading a local header if you don't read to the end of the file</title><link>http://xceed.com/CS/forums/thread/28731.aspx</link><pubDate>Thu, 16 Sep 2010 23:02:23 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:28731</guid><dc:creator>Adam</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/28731.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=28731</wfw:commentRss><description>&lt;P&gt;When I am using the ZipReader and as I am calling ReadItemData, if I don't read to the end of the current file in the archive before calling ZipReader.ReadItemLocalHeader()&amp;nbsp;I get the following exception:&lt;/P&gt;
&lt;P&gt;System.IO.EndOfStreamException:&amp;nbsp;Unexpected&amp;nbsp;end&amp;nbsp;of&amp;nbsp;stream&amp;nbsp;while&amp;nbsp;reading&amp;nbsp;a&amp;nbsp;local&amp;nbsp;header&amp;nbsp;from&amp;nbsp;a&amp;nbsp;zip&amp;nbsp;file.&lt;/P&gt;
&lt;DIV class=stacktrace&gt;at &lt;SPAN class=normalLinkEmuLink&gt;&lt;FONT color=#00008b&gt;Xceed.Zip.ItemHeader&lt;/FONT&gt;&lt;/SPAN&gt;.&lt;SPAN&gt;&lt;FONT color=#008b8b&gt;ReadLocalHeader&lt;/FONT&gt;&lt;/SPAN&gt;(&lt;FONT color=#00008b&gt;&lt;SPAN class=normalLinkEmuLink&gt;&lt;FONT color=#00008b&gt;BinaryReader&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&amp;nbsp;&lt;FONT color=#000000&gt;reader&lt;/FONT&gt;,&amp;nbsp;&lt;FONT color=#00008b&gt;&lt;SPAN class=normalLinkEmuLink&gt;&lt;FONT color=#00008b&gt;ExtraHeaderList&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&amp;nbsp;&lt;FONT color=#000000&gt;availableExtraHeaders&lt;/FONT&gt;,&amp;nbsp;&lt;FONT color=#0000ff&gt;ref&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=#00008b&gt;&lt;SPAN class=normalLinkEmuLink&gt;&lt;FONT color=#00008b&gt;Int32&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&amp;nbsp;&lt;FONT color=#000000&gt;headerSize&lt;/FONT&gt;)&lt;BR&gt;at &lt;SPAN class=normalLinkEmuLink&gt;&lt;FONT color=#00008b&gt;Xceed.Zip.ReaderWriter.ZipReader&lt;/FONT&gt;&lt;/SPAN&gt;.&lt;SPAN class=normalLinkEmuLink&gt;&lt;FONT color=#008b8b&gt;DoReadItemLocalHeader&lt;/FONT&gt;&lt;/SPAN&gt;(&lt;FONT color=#00008b&gt;&lt;SPAN class=normalLinkEmuLink&gt;&lt;FONT color=#00008b&gt;ReaderWriterItemInfo&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&amp;nbsp;&lt;FONT color=#000000&gt;itemInfo&lt;/FONT&gt;)&lt;BR&gt;at &lt;SPAN class=normalLinkEmuLink&gt;&lt;FONT color=#00008b&gt;Xceed.Zip.ReaderWriter.ZipReader&lt;/FONT&gt;&lt;/SPAN&gt;.&lt;SPAN class=normalLinkEmuLink&gt;&lt;FONT color=#008b8b&gt;ReadItemLocalHeader&lt;/FONT&gt;&lt;/SPAN&gt;()&lt;BR&gt;&lt;/DIV&gt;
&lt;DIV class=stacktrace&gt;It would be nice if ReadItemLocalHeader() would move to the end of the current file for me if I am not already there.&lt;/DIV&gt;
&lt;DIV class=stacktrace&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class=stacktrace&gt;Just my two cents.&lt;/DIV&gt;</description></item><item><title>Expected end of stream not found when using CompressionLevel.None with ZipWriter</title><link>http://xceed.com/CS/forums/thread/28730.aspx</link><pubDate>Thu, 16 Sep 2010 22:04:34 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:28730</guid><dc:creator>Adam</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/28730.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=28730</wfw:commentRss><description>&lt;P&gt;When ever I speicify &lt;SPAN style="COLOR:#2b91af;"&gt;CompressionLevel&lt;/SPAN&gt;.None in the ZipItemLocalHeader and then try to read the output stream I am getting this error.&lt;/P&gt;
&lt;P&gt;Xceed.Compression.CompressionException:&amp;nbsp;Expected&amp;nbsp;end&amp;nbsp;of&amp;nbsp;stream&amp;nbsp;not&amp;nbsp;found&lt;/P&gt;
&lt;DIV class=stacktrace&gt;at Xceed.Compression.ManagedDeflateDecompressor.Decompress(Byte[] buffer, Int32 offset, Int32 count, Boolean&amp;amp; endOfData, Byte[]&amp;amp; decompressed, Int32&amp;amp; remaining)&lt;BR&gt;at &lt;SPAN&gt;&lt;FONT color=#00008b&gt;Xceed.Compression.CompressedStream&lt;/FONT&gt;&lt;/SPAN&gt;.&lt;SPAN&gt;&lt;FONT color=#008b8b&gt;Read&lt;/FONT&gt;&lt;/SPAN&gt;(&lt;FONT color=#00008b&gt;&lt;SPAN&gt;&lt;FONT color=#00008b&gt;Byte&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;[]&amp;nbsp;&lt;FONT color=#000000&gt;buffer&lt;/FONT&gt;,&amp;nbsp;&lt;FONT color=#00008b&gt;&lt;SPAN class=normalLinkEmuLink&gt;&lt;FONT color=#00008b&gt;Int32&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&amp;nbsp;&lt;FONT color=#000000&gt;offset&lt;/FONT&gt;,&amp;nbsp;&lt;FONT color=#00008b&gt;&lt;SPAN&gt;&lt;FONT color=#00008b&gt;Int32&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&amp;nbsp;&lt;FONT color=#000000&gt;count&lt;/FONT&gt;)&lt;BR&gt;at &lt;SPAN&gt;&lt;FONT color=#00008b&gt;Xceed.Utils.Streams.ChecksumStream&lt;/FONT&gt;&lt;/SPAN&gt;.&lt;SPAN&gt;&lt;FONT color=#008b8b&gt;Read&lt;/FONT&gt;&lt;/SPAN&gt;(&lt;FONT color=#00008b&gt;&lt;SPAN&gt;&lt;FONT color=#00008b&gt;Byte&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;[]&amp;nbsp;&lt;FONT color=#000000&gt;buffer&lt;/FONT&gt;,&amp;nbsp;&lt;FONT color=#00008b&gt;&lt;SPAN&gt;&lt;FONT color=#00008b&gt;Int32&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&amp;nbsp;&lt;FONT color=#000000&gt;offset&lt;/FONT&gt;,&amp;nbsp;&lt;FONT color=#00008b&gt;&lt;SPAN class=normalLinkEmuLink&gt;&lt;FONT color=#00008b&gt;Int32&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&amp;nbsp;&lt;FONT color=#000000&gt;count&lt;/FONT&gt;)&lt;BR&gt;at &lt;SPAN&gt;&lt;FONT color=#00008b&gt;Xceed.Zip.ReaderWriter.ZipReader&lt;/FONT&gt;&lt;/SPAN&gt;.&lt;SPAN&gt;&lt;FONT color=#008b8b&gt;ReadItemData&lt;/FONT&gt;&lt;/SPAN&gt;(&lt;FONT color=#00008b&gt;&lt;SPAN&gt;&lt;FONT color=#00008b&gt;Byte&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;[]&amp;nbsp;&lt;FONT color=#000000&gt;buffer&lt;/FONT&gt;,&amp;nbsp;&lt;FONT color=#00008b&gt;&lt;SPAN class=normalLinkEmuLink&gt;&lt;FONT color=#00008b&gt;Int32&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&amp;nbsp;&lt;FONT color=#000000&gt;offset&lt;/FONT&gt;,&amp;nbsp;&lt;FONT color=#00008b&gt;&lt;SPAN&gt;&lt;FONT color=#00008b&gt;Int32&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&amp;nbsp;&lt;FONT color=#000000&gt;count&lt;/FONT&gt;)&lt;BR&gt;&lt;/DIV&gt;
&lt;DIV class=stacktrace&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class=stacktrace&gt;Was able to reproduce this issue using your&amp;nbsp;RealTimeZipSample&amp;nbsp;by just changing the compression level, we are using &lt;SPAN style="COLOR:green;"&gt;Xceed.Zip.v5.0,&amp;nbsp;Version=5.0.10308.13200,&amp;nbsp;Culture=neutral,&amp;nbsp;PublicKeyToken=ba83ff368b7563c6&lt;/SPAN&gt;&lt;BR&gt;&lt;/DIV&gt;</description></item><item><title>Zip Writer not disposing inner stream</title><link>http://xceed.com/CS/forums/thread/28696.aspx</link><pubDate>Tue, 14 Sep 2010 22:18:06 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:28696</guid><dc:creator>Adam</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/28696.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=28696</wfw:commentRss><description>&lt;P style="MARGIN:0in 0in 10pt;" class=MsoNormal&gt;&lt;SPAN style="LINE-HEIGHT:115%;FONT-FAMILY:'Arial','sans-serif';FONT-SIZE:10pt;"&gt;When I call dispose on the ZipWriter it's not disposing the inner stream as I expected. Is your writer not disposing the inner stream on purpose, or is it a defect?&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;I will work around it, but just wanted to know for future reference.&lt;/SPAN&gt;&lt;/P&gt;</description></item><item><title>ZippedFile.OpenRead(password) is returning error</title><link>http://xceed.com/CS/forums/thread/28648.aspx</link><pubDate>Sun, 12 Sep 2010 13:37:29 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:28648</guid><dc:creator>Dan</dc:creator><slash:comments>5</slash:comments><comments>http://xceed.com/CS/forums/thread/28648.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=28648</wfw:commentRss><description>&lt;p&gt;I have instantiated a zippedfile object to a known file within an archive.&lt;/p&gt;&lt;p&gt;&lt;b&gt;Dim zipfile As DiskFile = New DiskFile(MyZipFile)&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;Dim testzip As New ZippedFile(zipfile, Path.GetFileName(ENCRYPTION_TEST_FILE))&lt;/b&gt;&lt;/p&gt;&lt;p&gt;I know the object is created properly as the &lt;b&gt;Exists&lt;/b&gt; and the &lt;b&gt;Encrypted&lt;/b&gt; properties are available:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;b&gt;If testzip.Exists Then&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If testzip.Encrypted = True Then&lt;/b&gt;&lt;/p&gt;&lt;p&gt;But - when I try to use OpenRead it throws an exception... &lt;br&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; testzip.OpenRead(gsUnzipPassword)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; testzip = Nothing&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Return PasswordTest.ProtectedAndSucceeded&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Catch ex As Exception&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MsgBox("Incorrect Password!", MsgBoxStyle.OkOnly Or MsgBoxStyle.Information, PRODUCT_NAME)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gsUnzipPassword = String.Empty&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gbUnzipPassprotect = False&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Return PasswordTest.ProtectedAndFailed&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Try&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; End if&lt;br&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;End if &lt;/b&gt;&lt;/p&gt;&lt;p&gt;The problem is that TestZip.OpenRead(gsUnzipPassword) throws an exception: "System.NullReferenceException = {"Object reference not set to an instance of an object."}"&lt;/p&gt;&lt;p&gt;This doesn't make sense to me - what am I doing wrong?&lt;/p&gt;&lt;p&gt;&amp;nbsp;All I am trying to do is verify that the password a user has entered (it is the default password entered when the archive was created) is the correct one.&lt;/p&gt;&lt;p&gt;I swear this code used to work - but I just updated to 5.0 and it doesn't. &amp;nbsp; &amp;nbsp; I also tried the latest version of 4.2 and it didn't work either - so if it ever worked it was broken some time ago...&amp;nbsp;&amp;nbsp; I'm 90% sure this worked in an earlier version of 4.2...&lt;br&gt;&lt;/p&gt;&lt;p&gt;Des &lt;br&gt;&lt;/p&gt;</description></item><item><title>exclude folder from unzip</title><link>http://xceed.com/CS/forums/thread/26787.aspx</link><pubDate>Tue, 11 May 2010 13:39:22 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:26787</guid><dc:creator>nadav</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/26787.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=26787</wfw:commentRss><description>&lt;P&gt;Hi I have zip file contains sub folders.&lt;/P&gt;
&lt;P&gt;I want to unzip the file exclude specific folder. I define NotFilter with scope of folder but the folder unzipped&amp;nbsp;what wrong with my solution.&amp;nbsp;&lt;/P&gt;</description></item><item><title>How to use PPMd?</title><link>http://xceed.com/CS/forums/thread/27883.aspx</link><pubDate>Wed, 04 Aug 2010 16:27:52 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:27883</guid><dc:creator>/\/\arkus</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/27883.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=27883</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;since the help file states "Xceed recommends that the PPMd compression method be selected when 
dealing with text files, XML files, and other files with high 
redundancy, as this is where the PPMd algorithm is able to create 
smaller files than the other compression methods." I just tried it and just can't do anything:&lt;/p&gt;&lt;p&gt;&amp;nbsp;System.Reflection.TargetInvocationException occurred&lt;br&gt;&amp;nbsp; Message=Xceed.Compression.PPMd.dll must be referenced as Copy Local in order to use PPMd CompressionMethod&lt;br&gt;&amp;nbsp; Source=Xceed.FileSystem.v5.0&lt;br&gt;&amp;nbsp; StackTrace:&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Xceed.FileSystem.FileSystemItem.CopyTo(FileSystemEvents events, Object userData, AbstractFolder destinationFolder, Boolean replaceExistingFiles)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Xceed.FileSystem.FileSystemItem.CopyTo(AbstractFolder destinationFolder, Boolean replaceExistingFiles)&lt;br&gt;&amp;nbsp; InnerException: System.NullReferenceException&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Message=Object reference not set to an instance of an object.&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Source=Xceed.Compression.v5.0&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StackTrace:&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Xceed.Compression.ManagedPPMdCompressor..ctor(Int32 maxOrder, Int32 subAllocatorSize, Int32 method, Assembly ppmdAssembly)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; InnerException: &lt;br&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;There are all files in the output folder: Xceed.Compression.PPMd.v5.0.dll, Xceed.Compression.v5.0.dll, Xceed.FileSystem.v5.0.dll, Xceed.Zip.v5.0.dll.&lt;/p&gt;&lt;p&gt;&amp;nbsp;A quick look at&amp;nbsp; Xceed.Compression.PPMd.v5.0.dll using Reflector showed up it depends on Microsoft.VisualC -- ??????? There is no mention inside the entire help "file" -- just "use it, it is good".&lt;/p&gt;&lt;p&gt;&amp;nbsp;Are you serious?! &lt;/p&gt;&lt;p&gt;From an 2008 post here it also looks like it is x86 only ... is this still the case??? &lt;br&gt;&lt;/p&gt;</description></item><item><title>Xceed.Zip.InvalidZipStructureException: The information contained in the local header does not match the information of the central header.</title><link>http://xceed.com/CS/forums/thread/27997.aspx</link><pubDate>Tue, 17 Aug 2010 19:30:09 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:27997</guid><dc:creator>ganders</dc:creator><slash:comments>2</slash:comments><comments>http://xceed.com/CS/forums/thread/27997.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=27997</wfw:commentRss><description>Is there anyway to tell what information is in this header before and after the zip process so I can figure out what's wrong with it?</description></item><item><title>Exceed Zip library for .NET issue with preserving path of folders</title><link>http://xceed.com/CS/forums/thread/25975.aspx</link><pubDate>Tue, 02 Mar 2010 12:56:38 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:25975</guid><dc:creator>chetan</dc:creator><slash:comments>4</slash:comments><comments>http://xceed.com/CS/forums/thread/25975.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=25975</wfw:commentRss><description>Hello ,&lt;br&gt;&amp;nbsp;&lt;br&gt;I have two files located in folder structure as follows&lt;br&gt;1) C:\Abc\Def\F1.Doc&lt;br&gt;2) C:\Abc\Hij\F2.Doc&lt;br&gt;&lt;br&gt;I want to create ZIp file which will contain both F1.doc and F2.doc, by preseving their folder structure and base path as "C:\Abc". i.e. when I unzip my file at any location, then it will create F1.Doc in Def folder and F2.Doc in Hij folder and does not create "C:\Abc".&lt;br&gt;&lt;br&gt;This we used to do in earlier version of xCeed by giving below property&lt;br&gt;XceedZip1.BasePath = "C:\Abc"&lt;br&gt;XceedZip1.PreservePaths = True&lt;br&gt;&lt;br&gt;I am using Xceed Zip library for .NET now. Can any body provide me sample code in .NET for the same or Property names?&lt;br&gt;&lt;br&gt;</description></item><item><title>How to unzip without recreating folder structure</title><link>http://xceed.com/CS/forums/thread/27591.aspx</link><pubDate>Mon, 19 Jul 2010 18:14:39 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:27591</guid><dc:creator>Jim</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/27591.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=27591</wfw:commentRss><description>This seems like it should be easy, but I haven't figured it out yet: I have zipfiles created with folder information. I need to unzip the archive without recreating the folder structure. Is this possible? </description></item><item><title>Can I unzip my zip file AFTER I've FTP'd it?</title><link>http://xceed.com/CS/forums/thread/27319.aspx</link><pubDate>Mon, 28 Jun 2010 22:02:01 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:27319</guid><dc:creator>ganders</dc:creator><slash:comments>5</slash:comments><comments>http://xceed.com/CS/forums/thread/27319.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=27319</wfw:commentRss><description>that's all.</description></item><item><title>Faster unzip operations?</title><link>http://xceed.com/CS/forums/thread/27283.aspx</link><pubDate>Thu, 24 Jun 2010 20:00:28 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:27283</guid><dc:creator>Nancy</dc:creator><slash:comments>2</slash:comments><comments>http://xceed.com/CS/forums/thread/27283.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=27283</wfw:commentRss><description>&lt;P&gt;I'm using very simple code to unzip files.&amp;nbsp; Here is a sample:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; private AbstractFile zipFile;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; private ZipArchive archive;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; private ZippedFolder folderArchive;&lt;BR&gt;&amp;nbsp;...&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.zipFile = new DiskFolder(zipPath).GetFile(zipFileName);&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.archive = new ZipArchive(this.zipFile);&lt;BR&gt;&amp;nbsp;...&lt;BR&gt;&amp;nbsp;// Unzip the file&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AbstractFolder dest = new DiskFolder(destinationFolder);&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.archive.CopyFilesTo(dest, true, true);&lt;BR&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then I modified by adding one line:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; private AbstractFile zipFile;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; private ZipArchive archive;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; private ZippedFolder folderArchive;&lt;BR&gt;&amp;nbsp;...&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.zipFile = new DiskFolder(zipPath).GetFile(zipFileName);&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.archive = new ZipArchive(this.zipFile);&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; archive.TempFolder = new MemoryFolder();&lt;BR&gt;&amp;nbsp;...&lt;BR&gt;&amp;nbsp;// Unzip the file&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AbstractFolder dest = new DiskFolder(destinationFolder);&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.archive.CopyFilesTo(dest, true, true);&lt;BR&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That didn't make any difference to the time needed to unzip, though.&lt;/P&gt;
&lt;P&gt;Is there any way to speed up the process?&amp;nbsp; We deal with zips of varied sizes.&amp;nbsp; They probably will never get above 100MB, but we still need the process to be blazingly fast.&amp;nbsp; It is currently taking an average of about 20 sec to unzip files that are on average 20MB.&amp;nbsp; That comes out to about 1MB/second and I really need to improve that speed if possible. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description></item><item><title>Test to see if zip file is encrypted without knowing the contents in the archive (zippedfile.encrypted doesn't cut it, here's why)</title><link>http://xceed.com/CS/forums/thread/26859.aspx</link><pubDate>Mon, 17 May 2010 19:53:07 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:26859</guid><dc:creator>Danny</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/26859.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=26859</wfw:commentRss><description>I need a way to test to see if a zip archive is encrypted (ex. object.IsEncrypted), ziparchive doesn't have a property or method that does this; however zippedfile does. The problem with this is that when I create a zippedfile object, you have to explicitly state a file within the encrypted file (zippedfile constructor overload list doesn't have a method that only requires an AbstractFile object and nothing else) which cannot be known if the zip file is encrypted, is there a workaround to this problem, and if so, what is it. Thanks in advance</description></item><item><title>Merging ZIPs</title><link>http://xceed.com/CS/forums/thread/26814.aspx</link><pubDate>Wed, 12 May 2010 23:17:02 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:26814</guid><dc:creator>Jason</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/26814.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=26814</wfw:commentRss><description>&lt;p&gt;We have a scenario where we have a hierarchical ZIP structure (ZIPs within ZIPs with ZIPs, etc.) that is flattened into a single ZIP. Every time we encounter a ZIP we copy it out of the archive (typically to a MemoryFile), open it, and copy the files to the destination ZIP.&amp;nbsp;&lt;/p&gt;&lt;p&gt;However this process takes considerable amount of time to decompress then immediately recompress the data.&lt;/p&gt;&lt;p&gt;Is there a way, possibly through extensions to ZipArchive/Folder/File objects, to bulk copy the compressed data (assuming&amp;nbsp;compatibility) directly from one ZIP to another?&lt;/p&gt;&lt;p&gt;Thanks in advance,&lt;/p&gt;&lt;p&gt;Jason&amp;nbsp;&lt;/p&gt;</description></item><item><title>Read a zip file from byte array</title><link>http://xceed.com/CS/forums/thread/22235.aspx</link><pubDate>Thu, 02 Jul 2009 21:11:09 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:22235</guid><dc:creator>Zaffar</dc:creator><slash:comments>2</slash:comments><comments>http://xceed.com/CS/forums/thread/22235.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=22235</wfw:commentRss><description>&lt;P&gt;Hi, &lt;/P&gt;
&lt;P&gt;I have created a zip file and converted it to a byte array to be sent across to another component. In that component, I have to read it back from byte array and convert it to either a zip file or extract contents of the zip file to a local folder. How can i read the zip file from the byte array. Please help with a code snippet.&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;FONT size=2&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Private&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Shared&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Function&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; ZipSelectedFiles(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;ByVal&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; list &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; Dictionary(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Of&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Integer&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;, &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;String&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;)) &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Byte&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;()&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Dim&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; file &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; DiskFile&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Dim&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; memFile &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;New&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; MemoryFile(&lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;&lt;FONT color=#800000 size=2&gt;"RAM_File"&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;, &lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;&lt;FONT color=#800000 size=2&gt;"lasfiles.zip"&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;)&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Dim&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; zip &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;New&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; ZipArchive(memFile)&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Dim&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; zipBytes() &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Byte&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;For&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Each&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; kvp &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; KeyValuePair(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Of&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Integer&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;, &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;String&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;) &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;In&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; list&lt;/P&gt;
&lt;P&gt;file = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;New&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; DiskFile(kvp.Value)&lt;/P&gt;
&lt;P&gt;file.CopyTo(zip, &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;False&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;)&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Next&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; kvp&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Dim&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; zipMemStream &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;New&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; MemoryStream()&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Dim&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; s &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; Stream = memFile.OpenRead()&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Dim&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; buffer(1024) &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Byte&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Dim&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; bytesRead &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Integer&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Do&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;bytesRead = s.Read(buffer, 0, buffer.Length)&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;If&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; bytesRead &amp;gt; 0 &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Then&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;zipMemStream.Write(buffer, 0, bytesRead)&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;End&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;If&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Loop&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Until&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; bytesRead = 0&lt;/P&gt;
&lt;P&gt;s.Close()&lt;/P&gt;
&lt;P&gt;zipBytes = zipMemStream.ToArray()&lt;/P&gt;
&lt;P&gt;zipMemStream.Close()&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Return&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; zipBytes&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;End&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Function&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;</description></item><item><title>ZipArchive.comment gives unexpected internal failure</title><link>http://xceed.com/CS/forums/thread/26645.aspx</link><pubDate>Thu, 29 Apr 2010 13:44:37 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:26645</guid><dc:creator>Michel</dc:creator><slash:comments>2</slash:comments><comments>http://xceed.com/CS/forums/thread/26645.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=26645</wfw:commentRss><description>&lt;P&gt;&lt;SPAN style="FONT-FAMILY:Arial;FONT-SIZE:10pt;mso-ansi-language:EN-GB;"&gt;When I try to add a comment to a new zipfile I get this error: "{"An unexpected internal failure occurred in the FileSystem component, or one of its descendants. Type: Xceed.Zip.ZipArchive FullName: \"}"&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY:Arial;COLOR:blue;FONT-SIZE:10pt;mso-ansi-language:EN-GB;"&gt;Dim _zip As New ZipArchive(New DiskFile(filename))&lt;BR&gt;&lt;BR&gt;_zip.DefaultCompressionMethod = Xceed.Compression.CompressionMethod.Deflated&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR&gt;If Not password Is Nothing Then _zip.DefaultEncryptionPassword = password&lt;BR&gt;_zip.AllowSpanning = True&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY:Arial;COLOR:blue;FONT-SIZE:10pt;mso-ansi-language:EN-GB;"&gt;'Copy the contents of the source folder to the zip file&lt;BR&gt;&amp;nbsp;&amp;nbsp; Try&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If Not comment Is Nothing Then _zip.Comment = comment&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _zip_source.MoveFilesTo(m_events, "", _zip, True, True, "*")&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Me.GetZipFiles(_zip)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If Not ZipProgressEvent Is Nothing Then RaiseEvent ZipProgress(Me, New ZipProgressEventArgs(100))&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY:Arial;COLOR:blue;FONT-SIZE:10pt;mso-ansi-language:EN-GB;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Return True&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY:Arial;COLOR:blue;FONT-SIZE:10pt;mso-ansi-language:EN-GB;"&gt;&amp;nbsp;&amp;nbsp; Catch ex As Exception&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LastException = ex&lt;BR&gt;&amp;nbsp;&amp;nbsp; Finally&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _zip = Nothing&lt;BR&gt;&amp;nbsp;&amp;nbsp; End Try&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY:Arial;FONT-SIZE:10pt;mso-ansi-language:EN-GB;"&gt;The error occurs when I call the _zip.Comment = comment, the _zip.Comment gives the error.&lt;BR&gt;When I look at the internal exception I can see that the Xceed.zip.dll internally throws a System.NullrefferenceException on the property.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY:Arial;FONT-SIZE:10pt;mso-ansi-language:EN-GB;"&gt;Source: Xceed.Zip&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY:Arial;FONT-SIZE:10pt;mso-ansi-language:EN-GB;"&gt;Stacktrace: &lt;FONT size=2&gt;bij Xceed.Zip.ZipArchive.get_Comment()&lt;/P&gt;&lt;/FONT&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY:Arial;FONT-SIZE:10pt;mso-ansi-language:EN-GB;"&gt;The code itself run’s without any trouble, so the zipfile is created, but because of the nullrefference the ‘comment’ isn’t added.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY:Arial;FONT-SIZE:10pt;mso-ansi-language:EN-GB;"&gt;What am I doing wrong? Or is this a bug in the Xceed.zip.dll?&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY:Arial;FONT-SIZE:10pt;mso-ansi-language:EN-GB;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY:Arial;FONT-SIZE:10pt;mso-ansi-language:EN-GB;"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY:Arial;FONT-SIZE:10pt;mso-ansi-language:EN-GB;"&gt;Some extra info:&lt;BR&gt;VS2005 (buildmode set to x86)&lt;BR&gt;Windows 7 64-bit&lt;BR&gt;Xceed component &lt;st1:address&gt;suite 2010v1&lt;/st1:address&gt; (latest downloaded from website)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;</description></item><item><title>Show zip'ed video</title><link>http://xceed.com/CS/forums/thread/26330.aspx</link><pubDate>Tue, 30 Mar 2010 12:32:31 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:26330</guid><dc:creator>Karin</dc:creator><slash:comments>2</slash:comments><comments>http://xceed.com/CS/forums/thread/26330.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=26330</wfw:commentRss><description>&lt;p&gt;I have a zip-archive containing pictures (jpg) and videos (mpg). I would like to show these pictures and videos in my application (C#) without having to unpack them to disc first. For the pictures I made a stream (System.IO.Stream) which I sent to a pictureBox and voila. The picture is shown without having to save it to disc. Now I would like to do something similar for the videos. But I can't seem to find any component that will accept a stream. The ones that I have looked at (DirectX and Windows Media Player) want a filename or a url.&amp;nbsp; &lt;/p&gt;&lt;p&gt;Does anybody know of a solution to this? Either making the contents of the zip archive available as a filename or url (without having to set up a webserver on the machine) or a component that will show video from a stream?&lt;br&gt;&lt;/p&gt;</description></item><item><title>READ ME: Latest notes and beta releases for Xceed Zip for .NET</title><link>http://xceed.com/CS/forums/thread/26565.aspx</link><pubDate>Tue, 20 Apr 2010 23:20:49 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:26565</guid><dc:creator>Jb [Xceed]</dc:creator><slash:comments>0</slash:comments><comments>http://xceed.com/CS/forums/thread/26565.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=26565</wfw:commentRss><description>&lt;h3&gt;Beta builds&lt;/h3&gt;

&lt;p&gt;From time to time, we will post beta builds of an upcoming service release here. We will do so if we feel the included bug fixes will affect and interest a significant number of clients.&lt;/p&gt;

&lt;p&gt;You can be automatically notified of new beta builds by clicking the 'Enable Email Subscription' button above.&lt;/p&gt;

&lt;p&gt;The beta builds are removed once they become the general release.&lt;/p&gt;

&lt;p&gt;Although these builds are tested and fully functional, use them at your own risk. They are not full releases and only contain the component assemblies.&lt;/p&gt;

&lt;p&gt;Below is a list of changes included in this beta build. If you're affected by one of the issues below, download the beta version and see if it resolves your issue:&lt;/p&gt;

&lt;ul&gt;

&lt;li&gt;Added MemoryFile.ToArray() method. [153536]&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;No service release is scheduled at this time.&lt;/p&gt;

&lt;p&gt;You can get the beta build for version 4.5, which targets the .NET framework 2.0/3.5 here:
&lt;a href="http://download3.xceedsoft.com/JBSupport/2013/Xceed.Zip.NET.4.5.13064.0.zip"&gt;Xceed.Zip.NET.4.5.13064.0.zip&lt;/a&gt;
&lt;br&gt;
You can get the beta build for version 5.3, which targets the .NET framework 4.0 here:
&lt;a href="http://download3.xceedsoft.com/JBSupport/2013/Xceed.Zip.NET.5.3.13064.0.zip"&gt;Xceed.Zip.NET.5.3.13064.0.zip&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You can always get the official full release on the &lt;a href="http://xceed.com/pages/TopMenu/Downloads/Updates.aspx?ProductId=9e2ab870-d378-db11-9ed7-0015c5e239e6&amp;amp;PeriodCode=LB"&gt;main website&lt;/a&gt;. But that release does not contain the fixes described here.&lt;/p&gt;

&lt;h3&gt;Known issues being worked on&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;None at this time.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;General workaround for bugs&lt;/h3&gt;

&lt;p&gt;If you're having issues with a Zip operation, please consider using version 4.1 of the component as a workaround until we provide a fix. It has the same features as version 4.3 and 5.1 but without the optimizations that make the component faster through heavily decreased use of temporary files. You can get the version 4.1 package from our official web site or from this direct link: &lt;a href="http://download3.xceedsoft.com/JBSupport/XceedComponents_ZipNET4.1.exe"&gt;XceedComponents_ZipNET4.1.exe&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;Explanation of version numbers&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Zip.NET 4.1&lt;/b&gt; Last version of the "old era". Slow with large operations but very stable.&lt;/li&gt;

&lt;li&gt;&lt;b&gt;Zip.NET 4.2&lt;/b&gt; Exact same features as v4.1 but uses new storage engine to greatly reduce the number of temporary files. Faster with large operations but engine is new and complex so bugs could be present. This version is obsolete and should not be used. Use v4.3 instead.&lt;/li&gt;

&lt;li&gt;&lt;b&gt;Zip.NET 4.5&lt;/b&gt; Improvements on v4.2 and later to fix many bugs and add small niche features. Recommended for use in production code.&lt;/li&gt;

&lt;li&gt;&lt;b&gt;Zip.NET 5.0&lt;/b&gt; Exact same code as v4.2 but compiled for .NET Framework 4.0 Client Profile. Any bug in v4.2 is present is v5.0. Any bug fix in v4.2 will also fix v5.0. This version is obsolete and should not be used. Use v5.1 instead.&lt;/li&gt;

&lt;li&gt;&lt;b&gt;Zip.NET 5.3&lt;/b&gt; Improvement on v5.0 and later to fix many bugs and add small niche features. Recommended for use in production code. This version matches v4.5 but is compiled targeting .NET4 Client Profile.&lt;/li&gt;
&lt;/ul&gt;

&lt;h5&gt;Update history of this post&lt;/h5&gt;

&lt;ul&gt;
&lt;li&gt;January 14th 2013: Posted build 13064.0 for versions 4.5 and 5.3 that adds MemoryFile.ToArray().&lt;/li&gt;

&lt;li&gt;November 29th 2012: Posted build 12579.0 for 4.4 and 5.2 for issue [153006].&lt;/li&gt;

&lt;li&gt;June 1st 2012: Posted build Xceed.Zip.NET.5.1.12301.0 for issues [127434] that was never ported to .NET 4.0.&lt;/li&gt;

&lt;li&gt;April 5th 2012: Posted build Xceed.Zip.NET.4.3.12205.0 and Xceed.Zip.NET.5.1.12205.0 for issue [149642].&lt;/li&gt;

&lt;li&gt;March 27th 2012: Posted build Xceed.Zip.NET.4.3.12177.0 and Xceed.Zip.NET.5.1.12177.0 for issue [149441].&lt;/li&gt;

&lt;li&gt;March 5th 2012: Posted build Xceed.Zip.NET.4.3.12155.0 and Xceed.Zip.NET.5.1.12155.0 for issue [149084].&lt;/li&gt;

&lt;li&gt;January 31th 2012: Posted build Xceed.Zip.NET.4.3.12081.0 and Xceed.Zip.NET.5.1.12081.0 for issue [147074]. PathException event was extended to DiskFolder.DoGetChildItems() with skipping support.&lt;/li&gt;

&lt;li&gt;January 26th 2012: Posted build Xceed.Zip.NET.4.3.12076.0 and Xceed.Zip.NET.5.1.12076.0 for issues [148435] and [148365].&lt;/li&gt;

&lt;li&gt;January 9th 2012: Posted build Xceed.Zip.NET.4.3.12059.0 and Xceed.Zip.NET.5.1.12059.0 for issues [148109] and [148110].&lt;/li&gt;

&lt;li&gt;December 19th 2011: Posted build Xceed.Zip.NET.4.3.11619.0 and Xceed.Zip.NET.5.1.11619.0.&lt;/li&gt;

&lt;li&gt;November 10th 2011: Posted build Xceed.Zip.NET.4.3.11560.0 and Xceed.Zip.NET.5.1.11560.0.&lt;/li&gt;

&lt;li&gt;October 19th 2011: Posted build Xceed.Zip.NET.4.3.11517.0 and Xceed.Zip.NET.5.1.11517.0.&lt;/li&gt;

&lt;li&gt;October 5th 2011: Posted build Xceed.Zip.NET.4.3.11505.0 and Xceed.Zip.NET.5.1.11505.0 for issue [146383].&lt;/li&gt;

&lt;li&gt;October 4th 2011: Posted build Xceed.Zip.NET.4.3.11504.0 and Xceed.Zip.NET.5.1.11504.0 for issue [146383].&lt;/li&gt;

&lt;li&gt;September 27th 2011: Posted build Xceed.Zip.NET.4.3.11477.0 and Xceed.Zip.NET.5.1.11477.0 for issues [146187], [146261].&lt;/li&gt;

&lt;li&gt;September 20th 2011: Build 4.3.11426.0 and 5.1.11426.0 posted on the main website on August 29th. Removed beta builds.&lt;/li&gt;

&lt;li&gt;August 17th 2011: Posted build Xceed.Zip.NET.4.3.11417.0 and Xceed.Zip.NET.5.1.11416.0 for issue [145507].&lt;/li&gt;

&lt;li&gt;May 24th 2011: Posted build Xceed.Zip.4.3.11274.0 and Xceed.Zip.5.1.11274.0 for issue [143920].&lt;/li&gt;

&lt;li&gt;April 29th 2011: Posted build Xceed.Zip.4.3.11229.0 and Xceed.Zip.5.1.11229.0 for issue [143331].&lt;/li&gt;

&lt;li&gt;April 28th 2011: Posted build Xceed.Zip.4.3.11228.0 and Xceed.Zip.5.1.11228.0 for issue [143277].&lt;/li&gt;

&lt;li&gt;April 7th 2011: Posted build Xceed.Zip.4.3.11207.0 and Xceed.Zip.5.1.11207.0 for issue [135729].&lt;/li&gt;

&lt;li&gt;February 21st 2011: Posted build Xceed.Zip.4.3.11121.0 and Xceed.Zip.5.1.11121.0 for issue [141716].&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>Various Errors when trying to zip files in memory</title><link>http://xceed.com/CS/forums/thread/24691.aspx</link><pubDate>Wed, 28 Oct 2009 13:32:46 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:24691</guid><dc:creator>Bill</dc:creator><slash:comments>6</slash:comments><comments>http://xceed.com/CS/forums/thread/24691.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=24691</wfw:commentRss><description>
&lt;p&gt;Good Morning,&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;

&lt;p&gt;I have a license copy of XCeed Zip for .NET (version 4.1.9373.11490).&amp;nbsp; I'm trying to be as efficient as I possibly can so I'm trying to zip the files in memory with the following code:&lt;/p&gt;


&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //using AutoBatchUpdate to prevent errors&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public byte[] ZipIt(byte[] XMLBytes)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MemoryStream ms = new MemoryStream();&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StreamFile mf = new StreamFile(ms);&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ZipArchive zip = new ZipArchive(mf);&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; using (new AutoBatchUpdate(zip))&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AbstractFile zipFile = zip.CreateFile(SourceFileName, true);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Stream stream = zipFile.OpenWrite(true);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; using (stream)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; stream.Write(XMLBytes, 0, XMLBytes.Length);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; stream.Flush();&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; catch (Exception ex)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; throw new Exception(string.Format("Failed to zip file with length: {0}\rReason: {1}", XMLBytes.Length, ex.Message));&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; finally&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (ms != null) ms.Close();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return ms.ToArray();&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;

&lt;p&gt;&lt;br&gt;However, I'm getting the following errors from XCeed.Zip listed below whenever the stream object is being disposed.&amp;nbsp; This seems to be related to http://xceed.com/CS/forums/post/4890.aspx. I should mention that this occurs during heavy processing (1133 files in 3 1/2 minutes).&lt;br&gt;&lt;/p&gt;

&lt;p&gt;&amp;nbsp;Any help would be appreciated,&lt;/p&gt;

&lt;p&gt;Bill N &lt;br&gt;&lt;/p&gt;

&lt;table style="border-collapse:collapse;width:601pt;" cellpadding="0" cellspacing="0"&gt;
&lt;tr style="height:153pt;"&gt;
  
&lt;td class="xl63" style="height:153pt;width:601pt;"&gt;Reason:
  Xceed.FileSystem.FileSystemInternalException: Missing ZipHandler in main
  table.&lt;br&gt;
    &lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;at
  Xceed.Zip.ZipHandler.UpdateZipHandlerKey(ZipHandler handler, AbstractFile
  oldZipFile, AbstractFile newZipFile)&lt;br&gt;
    &lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;at
  Xceed.Zip.ZipHandler.Flush(FileSystemEventsSession session)&lt;br&gt;
    &lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;at
  Xceed.Zip.ZipHandler.Release(FileSystemEventsSession session)&lt;br&gt;
    &lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;at
  Xceed.Zip.ZipHandler.ReleaseModify(FileSystemEventsSession session)&lt;br&gt;
    &lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;at
  Xceed.Zip.ZipItemHandler.OnClosingWritingStreamEvent(Object sender, NotifyStreamArgs
  args)&lt;br&gt;
    &lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;at
  Xceed.Utils.Streams.NotifyStream.OnClosingStream()&lt;br&gt;
    &lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;at
  Xceed.Utils.Streams.NotifyStream.Dispose(Boolean disposing)&lt;br&gt;
    &lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;at System.IO.Stream.Close()&lt;br&gt;
    &lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;at
  System.IO.Stream.Dispose()&lt;br&gt;
    &lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;br&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;

&lt;table style="border-collapse:collapse;width:601pt;" cellpadding="0" cellspacing="0"&gt;
&lt;tr style="height:127.5pt;"&gt;
  
&lt;td class="xl65" style="height:127.5pt;width:601pt;"&gt;
&lt;p&gt;Reason:
  System.ObjectDisposedException: Cannot access a disposed object.&lt;br&gt;
    Object name: 'ZipHandler'.&lt;br&gt;
    &lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;at
  Xceed.Zip.ZipHandler.CheckIfDisposed()&lt;br&gt;
    &lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;at
  Xceed.Zip.ZipItemHandler.OnClosingWritingStreamEvent(Object sender,
  NotifyStreamArgs args)&lt;br&gt;
    &lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;at
  Xceed.Utils.Streams.NotifyStream.OnClosingStream()&lt;br&gt;
    &lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;at
  Xceed.Utils.Streams.NotifyStream.Dispose(Boolean disposing)&lt;br&gt;
    &lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;at System.IO.Stream.Close()&lt;br&gt;
    &lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;at
  System.IO.Stream.Dispose()&lt;br&gt;
    &lt;span&gt;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;

&lt;table style="border-collapse:collapse;width:601pt;" cellpadding="0" cellspacing="0"&gt;
&lt;tr style="height:191.25pt;"&gt;
  
&lt;td class="xl65" style="height:191.25pt;width:601pt;"&gt;Reason:
  System.InvalidOperationException: Collection was modified after the
  enumerator was instantiated.&lt;br&gt;
    &lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;at
  System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource
  resource)&lt;br&gt;
    &lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;at
  System.Collections.Generic.SortedList`2.SortedListValueEnumerator.MoveNext()&lt;br&gt;
    &lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;at
  Xceed.Zip.ZipHandler.WriteLocalHeaders(FileSystemEventsSession session,
  BinaryWriter writer)&lt;br&gt;
    &lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;at
  Xceed.Zip.ZipHandler.WriteZipToStream(FileSystemEventsSession session,
  BinaryWriter writer)&lt;br&gt;
    &lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;at Xceed.Zip.ZipHandler.Flush(FileSystemEventsSession
  session)&lt;br&gt;
    &lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;at
  Xceed.Zip.ZipHandler.Release(FileSystemEventsSession session)&lt;br&gt;
    &lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;at Xceed.Zip.ZipHandler.ReleaseModify(FileSystemEventsSession
  session)&lt;br&gt;
    &lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;at
  Xceed.Zip.ZipItemHandler.OnClosingWritingStreamEvent(Object sender,
  NotifyStreamArgs args)&lt;br&gt;
    &lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;at Xceed.Utils.Streams.NotifyStream.OnClosingStream()&lt;br&gt;
    &lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;at
  Xceed.Utils.Streams.NotifyStream.Dispose(Boolean disposing)&lt;br&gt;
    &lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;at System.IO.Stream.Close()&lt;br&gt;
    &lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;at
  System.IO.Stream.Dispose()&lt;br&gt;
    &lt;br&gt;
    &lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;br&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;

</description></item><item><title>QuickCompression Deadlock LZMA</title><link>http://xceed.com/CS/forums/thread/26329.aspx</link><pubDate>Tue, 30 Mar 2010 11:40:02 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:26329</guid><dc:creator>Comodo</dc:creator><slash:comments>4</slash:comments><comments>http://xceed.com/CS/forums/thread/26329.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=26329</wfw:commentRss><description>&lt;P&gt;This always "deadlocks" on decompress ??&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; byte[] aaa = new byte[1000];&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for (int i=0;i&amp;lt;1000;i++)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; aaa&lt;img src="http://xceed.com/CS/emoticons/emotion-55.gif" alt="Idea" /&gt; = (byte)i;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; byte[] xxx = Xceed.Compression.QuickCompression.Compress(aaa,Xceed.Compression.CompressionMethod.LZMA,Xceed.Compression.CompressionLevel.None);&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; byte[] axxx = Xceed.Compression.QuickCompression.Decompress(yyy,Xceed.Compression.CompressionMethod.LZMA);&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description></item><item><title>Verify the created zip</title><link>http://xceed.com/CS/forums/thread/20748.aspx</link><pubDate>Wed, 06 May 2009 08:38:43 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:20748</guid><dc:creator>Insider</dc:creator><slash:comments>4</slash:comments><comments>http://xceed.com/CS/forums/thread/20748.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=20748</wfw:commentRss><description>&lt;DIV class=ForumPostContentText id=ctl00_ctl01_bcr_SinglePostView___PostViewWrapper&gt;
&lt;P&gt;Hey,&lt;/P&gt;
&lt;P&gt;In code&amp;nbsp;I create a zip file on&amp;nbsp;a location like&amp;nbsp;C:\test.zip.&lt;BR&gt;Then&amp;nbsp;I want to check the zip if its valid (no errors occurred).&lt;BR&gt;Then i copy the file from C\:test.zip to D\:test.zip.&lt;BR&gt;Then i check/verify again.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Now i just creating the zip and copy it.&lt;/P&gt;
&lt;P&gt;But how can i verify it?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;&lt;/DIV&gt;</description></item><item><title>Decompress BZip2 file</title><link>http://xceed.com/CS/forums/thread/4918.aspx</link><pubDate>Fri, 29 Feb 2008 18:35:07 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:4918</guid><dc:creator>Brad</dc:creator><slash:comments>3</slash:comments><comments>http://xceed.com/CS/forums/thread/4918.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=4918</wfw:commentRss><description>I'm looking for an example of how to decompress a BZip2 file. The documentation shows BZip2 as a supported compressing method, but I can't find an example of decompression.</description></item><item><title>Create archive from stream and path.</title><link>http://xceed.com/CS/forums/thread/26146.aspx</link><pubDate>Tue, 16 Mar 2010 23:59:46 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:26146</guid><dc:creator>naresh</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/26146.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=26146</wfw:commentRss><description>How to create an archive from the stream and path of the file. The archive should have the directory structure intact.&lt;br&gt;Suppose a:\b\c\d\e.txt, when i unzip the archive, it should have the c\d\e.txt where is a:\b is the root directory.&lt;br&gt;&lt;br&gt;</description></item><item><title>Open stream archive</title><link>http://xceed.com/CS/forums/thread/25879.aspx</link><pubDate>Sun, 21 Feb 2010 21:47:08 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:25879</guid><dc:creator>a</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/25879.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=25879</wfw:commentRss><description>&lt;p&gt;How you open a stream containing a zip archive.&lt;/p&gt;&lt;p&gt;So far, I've tried the following but to no avail:&lt;/p&gt;&lt;p&gt;Public Sub Open(ByVal vStream As IO.Stream)&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim pMF As MemoryFile&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim pBytes() As Byte&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pMF = New MemoryFile()&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ReDim pBytes(vStream.Length - 1)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vStream.Read(pBytes, 0, pBytes.Length)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pMF.CreateWrite.Write(pBytes, 0, pBytes.Length)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mZip = New ZipArchive(pMF)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mZip.BeginUpdate()&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mFilename = Nothing&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Sub &lt;br&gt;&lt;/p&gt;</description></item><item><title>test if zip file is password protected</title><link>http://xceed.com/CS/forums/thread/25896.aspx</link><pubDate>Tue, 23 Feb 2010 18:58:14 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:25896</guid><dc:creator>Dan</dc:creator><slash:comments>2</slash:comments><comments>http://xceed.com/CS/forums/thread/25896.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=25896</wfw:commentRss><description>I need to check if a zip file is password protected before attempting to reveal the contents.&amp;nbsp;&amp;nbsp;&amp;nbsp; Is there a function that allows me to do that?&lt;br&gt;</description></item><item><title>Getting ongoing zip file size</title><link>http://xceed.com/CS/forums/thread/25638.aspx</link><pubDate>Wed, 03 Feb 2010 05:20:49 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:25638</guid><dc:creator>Dan</dc:creator><slash:comments>2</slash:comments><comments>http://xceed.com/CS/forums/thread/25638.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=25638</wfw:commentRss><description>&lt;p&gt;As I add files to a zip archive, can I discover the current size of the zip file that is being created? &lt;/p&gt;&lt;p&gt;I want to manage my own file splitting so need to do a check of the current zipfile size. &amp;nbsp; &amp;nbsp; Any suggestion on how that can be done? &amp;nbsp; I haven't found anything obvious...&lt;/p&gt;&lt;p&gt;&amp;nbsp;I create a zipfile&lt;/p&gt;&lt;p&gt;m_zipRoot&amp;nbsp; = New Xceed.Zip.ZipArchive(sZipper) &lt;/p&gt;&lt;p&gt;As I copyto this zipfile, can I test for it's current size after adding each file? &lt;br&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Des &lt;br&gt;&lt;/p&gt;</description></item><item><title>Real Time - What's the fastest method ?</title><link>http://xceed.com/CS/forums/thread/25315.aspx</link><pubDate>Fri, 01 Jan 2010 19:34:06 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:25315</guid><dc:creator>JohnZ</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/25315.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=25315</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I'm evaluating xceed zip Real Time to decide if it fits our needs.&lt;/p&gt;&lt;p&gt;&amp;nbsp;I have a large amount of files (inside a folder with subfolders) to zip - deflate normal compression and encrypt - AES 256&amp;nbsp;&lt;/p&gt;&lt;p&gt;What's the FASTEST method&lt;/p&gt;&lt;p&gt;1 - encrypt and compress on the fly to a ZIP file&lt;/p&gt;&lt;p&gt;2 - create a no compressed (storage method) and no encrypted zip and then compress and encrypt the zip file (so it will be a zip inside a zip)&lt;/p&gt;&lt;p&gt;I'm using this code below (vb.net example) with minor changes&lt;/p&gt;&lt;p&gt;&lt;a href="http://doc.xceedsoft.com/products/XceedRTZip/ZipWriter_class.html"&gt;http://doc.xceedsoft.com/products/XceedRTZip/ZipWriter_class.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thank you&amp;nbsp;&lt;/p&gt;</description></item><item><title>Xceed Zip for .NET - Support for .NET 4.0?</title><link>http://xceed.com/CS/forums/thread/25311.aspx</link><pubDate>Thu, 31 Dec 2009 01:08:12 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:25311</guid><dc:creator>Marcus</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/25311.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=25311</wfw:commentRss><description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Version 4.0 of the .NET Framework is currently in beta, and scheduled for release to market in the first half of 2010.&lt;/P&gt;
&lt;P&gt;My questions are:&lt;/P&gt;
&lt;P&gt;- Will the current version of Xceed Zip for .NET&amp;nbsp;work with .NET 4.0 (i.e. if the only installed version of the .NET Framework is version 4.0)?&lt;/P&gt;
&lt;P&gt;- If not, do you plan to release a version of&amp;nbsp;Xceed Zip for&amp;nbsp;.NET that supports .NET 4.0? How long after the release to market of .NET 4.0 is this likely to be released?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description></item><item><title>Xceed.Zip.ZipHandler.RemoveZipHandler(ZipHandler handler) ; System.ArgumentNullException was unhandled ; "Value cannot be null.\r\nParameter name: handler"</title><link>http://xceed.com/CS/forums/thread/25276.aspx</link><pubDate>Tue, 22 Dec 2009 20:59:13 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:25276</guid><dc:creator>Chris</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/25276.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=25276</wfw:commentRss><description>&lt;div&gt;I'm getting the following exception:&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;System.ArgumentNullException was unhandled&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;Message="Value cannot be null.\r\nParameter name: handler"&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;Source="Xceed.Zip"&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;ParamName="handler"&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;StackTrace:&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; at Xceed.Zip.ZipHandler.RemoveZipHandler(ZipHandler handler)&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; at Xceed.Zip.ZippedFolder.Finalize()&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;InnerException:&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;This exception happens at some later time in execution after I try to create a ZipFolder() and I pass in an invalid zip from a MemoryFile.&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;I am using Xceed 2.0.116.0. &amp;nbsp;I've seen some forum entries that say you need to upgrade to version 3.2. &amp;nbsp;I tried using the latest version I could find on your website... 4.1.9616.13400... by copying those DLLs into the bin directory for my application. &amp;nbsp;I still get an error. &amp;nbsp;However, I'm not sure if those are really being used since I still have the 2.0.116 in my GAC. &amp;nbsp;I need to keep those there for other applications that are very dependent on that version.&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;Is there any way to handle this error, without having to upgrade to a newer Xceed DLL?&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;</description></item><item><title>Pass-through zip decompression</title><link>http://xceed.com/CS/forums/thread/25085.aspx</link><pubDate>Fri, 04 Dec 2009 21:04:35 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:25085</guid><dc:creator>Pascal</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/25085.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=25085</wfw:commentRss><description>&lt;p&gt;I'm working on a program that read large csv files which can be several hundreds MBs. I noticed that compressing those files with zip would reduced the disk space used by 10.&lt;/p&gt;&lt;p&gt;I was thinking allowing my program to read zip files as well but only as a pass-through stream so that there is no overhead on the disk or memory usage.&lt;/p&gt;&lt;p&gt;I though the CompressedStream class was the one I needed but the only CompressionMethod available for the constructor are Deflated, Deflated64 and Stored.&lt;/p&gt;&lt;p&gt;&amp;nbsp;I couldn't find code samples with CompressedStream and Zip, is just not possible?&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks,&lt;/p&gt;&lt;p&gt;Pascal &lt;br&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Multi-volume Self-extracting archives</title><link>http://xceed.com/CS/forums/thread/24706.aspx</link><pubDate>Thu, 29 Oct 2009 20:52:27 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:24706</guid><dc:creator>erich</dc:creator><slash:comments>3</slash:comments><comments>http://xceed.com/CS/forums/thread/24706.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=24706</wfw:commentRss><description>&lt;P&gt;I have been searching the site but can not find a definitive answer.&amp;nbsp; Is it possible to create a multi-volume zip archive that is self-extracting?&amp;nbsp; If so, at which version was this feature included?&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Erich&lt;/P&gt;</description></item><item><title>Decompressing a Base-64, BWT compressed data string created with XceedSco &amp; XceedBen ActiveX components</title><link>http://xceed.com/CS/forums/thread/24894.aspx</link><pubDate>Tue, 17 Nov 2009 20:57:08 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:24894</guid><dc:creator>Sean</dc:creator><slash:comments>2</slash:comments><comments>http://xceed.com/CS/forums/thread/24894.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=24894</wfw:commentRss><description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I represent a company that's been using Xceed components for a number of years.&amp;nbsp; In one of our legacy products we compress and base64 encode a stream of data and store it in a file.&amp;nbsp; I've been tasked to extract, decode, and decompress this data, but we would like to use your .NET components to do so.&amp;nbsp; I have found a&amp;nbsp;thread simply stating that this can be done (&lt;A href="http://xceed.com/CS/forums/post/12154.aspx"&gt;http://xceed.com/CS/forums/post/12154.aspx&lt;/A&gt;), but it doesn't provide an implementation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Our legacy product uses Interop to call into the XceedZip library, this is the code used to store the data:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;lt;code&amp;gt;&lt;/P&gt;
&lt;P&gt;XceedStreamingCompressionLib.XceedStreamingCompression objStream = new XceedStreamingCompressionLib.XceedStreamingCompressionClass();&lt;BR&gt;objStream.License("xxx");&lt;/P&gt;
&lt;P&gt;XceedStreamingCompressionLib.XceedBWTCompressionMethod objMethod = new XceedStreamingCompressionLib.XceedBWTCompressionMethodClass();&lt;BR&gt;objMethod.CompressionLevel = XceedStreamingCompressionLib.EXCCompressionLevel.cclMedium;&lt;BR&gt;objStream.CompressionFormat = objMethod;&lt;/P&gt;
&lt;P&gt;XceedBinaryEncodingLib.XceedBinaryEncoding objEncoder = new XceedBinaryEncodingLib.XceedBinaryEncodingClass();&lt;BR&gt;objEncoder.License("xxx");&lt;/P&gt;
&lt;P&gt;objEncoder.EncodingFormat = new XceedBinaryEncodingLib.XceedBase64EncodingFormatClass();&lt;/P&gt;
&lt;P&gt;object OData = sData;&lt;BR&gt;object CData = objStream.Compress(ref OData, true);&lt;BR&gt;object EData = objEncoder.Encode(ref CData, true);&lt;/P&gt;
&lt;P&gt;objEncoder = null;&lt;BR&gt;objMethod = null;&lt;BR&gt;objStream = null;&lt;/P&gt;
&lt;P&gt;return Encoding.Unicode.GetString((byte[])EData);&lt;/P&gt;
&lt;P&gt;&amp;lt;/code&amp;gt;&lt;/P&gt;
&lt;P&gt;If I understand correctly, this compresses an input string using BWT medium compression and then encodes the result as a base 64 unicode string so we can store it in our propietary XML file format.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Now, according to the forum thread I posted earlier, I should be able to use .NET's class library to decode the base 64 string, use BWT "normal" decompression, and end up with the original string?&amp;nbsp; This is a sample of the code that attempts to do this.&amp;nbsp; I'm using build 3.7.8465.14130 of the Xceed .NET components.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;lt;code&amp;gt;&lt;/P&gt;
&lt;P&gt;// parse through proprietary file, return&amp;nbsp;the encoded&amp;nbsp;and compressed string "data"&amp;nbsp;&lt;/P&gt;
&lt;P&gt;// This will raise a FormatException "Invalid character in a Base-64 string" &lt;BR&gt;var bytes = Convert.FromBase64String(data);&lt;/P&gt;
&lt;P&gt;// So I tried manually creating a UTF8 encoding and passing in false to "throw exception on invalid characters" (second param of constructor)&lt;BR&gt;/* &lt;BR&gt;var encoding = new UTF8Encoding(false, false);&lt;BR&gt;var utf8String = encoding.GetString(Encoding.Unicode.GetBytes(data));&lt;BR&gt;var decoded64Bytes = Convert.FromBase64String(utf8String); */&lt;/P&gt;
&lt;P&gt;// I was able to get a byte array that happily went into an XceedCompressedStream, but when I tried to read from the stream&lt;BR&gt;// I received a NotSupportedException "The XceedCompressedStream does not support having data written in its reserved bits."&lt;/P&gt;
&lt;P&gt;var xceedCompressedStream = new XceedCompressedStream(new MemoryStream(bytes), CompressionMethod.BWT, CompressionLevel.Normal);&lt;/P&gt;
&lt;P&gt;var outputStream = new MemoryStream();&lt;/P&gt;
&lt;P&gt;// 32K at at time.&lt;/P&gt;
&lt;P&gt;var buffer = new byte[32768];&lt;BR&gt;int bytesRead;&lt;/P&gt;
&lt;P&gt;// Loop until we have nothing more to read from the source stream.&lt;/P&gt;
&lt;P&gt;while ((bytesRead = xceedCompressedStream.Read(buffer, 0, buffer.Length)) &amp;gt; 0)&lt;BR&gt;{&lt;BR&gt;&amp;nbsp;outputStream.Write(buffer, 0, bytesRead);&lt;BR&gt;}&lt;/P&gt;
&lt;P&gt;&amp;lt;/code&amp;gt;&lt;BR&gt;&lt;/P&gt;
&lt;P&gt;As a last resort we will use the ActiveX COM component to do the decoding and decompression (I've already tested that implementation and it&amp;nbsp;works as advertised), but we would really appreciate some assistance getting this working with the .NET components so we don't have to have a COM dependency.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Thanks,&lt;/P&gt;</description></item><item><title>LicenseException</title><link>http://xceed.com/CS/forums/thread/24903.aspx</link><pubDate>Wed, 18 Nov 2009 15:19:01 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:24903</guid><dc:creator>Ben</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/24903.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=24903</wfw:commentRss><description>&lt;P style="MARGIN:0cm 0cm 0pt;" class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY:Arial;FONT-SIZE:10pt;mso-ansi-language:EN-GB;"&gt;We have downloaded the product “&lt;SPAN style="mso-font-kerning:18.0pt;mso-bidi-font-weight:bold;"&gt;Xceed Data Manipulation Suite” from ComponentSource. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY:Arial;FONT-SIZE:10pt;"&gt;We are evaluating it.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN:0cm 0cm 0pt;" class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY:Arial;FONT-SIZE:10pt;"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN:0cm 0cm 0pt;" class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY:Arial;FONT-SIZE:10pt;mso-ansi-language:EN-GB;"&gt;We sow in the product features list: “Includes Xceed Self-Extractor Module for creating sharp, fully customizable self-extracting Zip files.”&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN:0cm 0cm 0pt;" class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY:Arial;FONT-SIZE:10pt;mso-ansi-language:EN-GB;"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN:0cm 0cm 0pt;" class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY:Arial;FONT-SIZE:10pt;mso-ansi-language:EN-GB;"&gt;Running the sample application called “ZipManaberVB”, trying to open the form “SfxOptions” we are having the following exception:&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN:0cm 0cm 0pt;" class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY:Arial;FONT-SIZE:10pt;mso-ansi-language:EN-GB;"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN:0cm 0cm 0pt;mso-layout-grid-align:none;" class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY:'Courier New';FONT-SIZE:8pt;mso-ansi-language:EN-GB;mso-no-proof:yes;"&gt;A first chance exception of type 'System.ComponentModel.LicenseException' occurred in Xceed.Zip.dll&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN:0cm 0cm 0pt;mso-layout-grid-align:none;" class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY:'Courier New';FONT-SIZE:8pt;mso-ansi-language:EN-GB;mso-no-proof:yes;"&gt;An unhandled exception of type 'System.ComponentModel.LicenseException' occurred in Xceed.Zip.dll&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN:0cm 0cm 0pt;mso-layout-grid-align:none;" class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY:'Courier New';FONT-SIZE:8pt;mso-ansi-language:EN-GB;mso-no-proof:yes;"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN:0cm 0cm 0pt;mso-layout-grid-align:none;" class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY:'Courier New';FONT-SIZE:8pt;mso-ansi-language:EN-GB;mso-no-proof:yes;"&gt;Additional information: You are using a v4.1 registered license key but are accessing the Self-Extracting feature only available in product Xceed Zip for .NET with Self-Extractor.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN:0cm 0cm 0pt;mso-layout-grid-align:none;" class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY:'Courier New';FONT-SIZE:8pt;mso-ansi-language:EN-GB;mso-no-proof:yes;"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN:0cm 0cm 0pt;" class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY:Arial;FONT-SIZE:10pt;mso-ansi-language:EN-GB;"&gt;Is the self-extracting feature included in the “&lt;SPAN style="mso-font-kerning:18.0pt;mso-bidi-font-weight:bold;"&gt;Xceed Data Manipulation Suite”?&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN:0cm 0cm 0pt;" class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY:Arial;FONT-SIZE:10pt;mso-ansi-language:EN-GB;mso-font-kerning:18.0pt;mso-bidi-font-weight:bold;"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN:0cm 0cm 0pt;" class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY:Arial;FONT-SIZE:10pt;mso-ansi-language:EN-GB;mso-font-kerning:18.0pt;mso-bidi-font-weight:bold;"&gt;If so, why are we having this exception?&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN:0cm 0cm 0pt;" class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY:Arial;FONT-SIZE:10pt;mso-ansi-language:EN-GB;mso-font-kerning:18.0pt;mso-bidi-font-weight:bold;"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN:0cm 0cm 0pt;" class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY:Arial;FONT-SIZE:10pt;mso-ansi-language:EN-GB;mso-font-kerning:18.0pt;mso-bidi-font-weight:bold;"&gt;Thanks in advance.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN:0cm 0cm 0pt;" class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY:Arial;FONT-SIZE:10pt;mso-ansi-language:EN-GB;mso-font-kerning:18.0pt;mso-bidi-font-weight:bold;"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN:0cm 0cm 0pt;" class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY:Arial;FONT-SIZE:10pt;mso-ansi-language:EN-GB;mso-font-kerning:18.0pt;mso-bidi-font-weight:bold;"&gt;Benjamin Moles&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY:Arial;FONT-SIZE:10pt;mso-ansi-language:EN-GB;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;</description></item><item><title>xCeed tar does not support tar files generated by ANT tar</title><link>http://xceed.com/CS/forums/thread/24843.aspx</link><pubDate>Wed, 11 Nov 2009 22:02:27 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:24843</guid><dc:creator>yonggang</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/24843.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=24843</wfw:commentRss><description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;My company use ANT TAR to generate tar files to be downloaded and used by our customer.&amp;nbsp; However, one customer complained about unable to untar using xceed tar.&amp;nbsp; We tested using GNU tar and WINRAR and they worked fine when untaring.&amp;nbsp; I was able to duplicate the issue using downloaded xCeed component.&amp;nbsp; Are you guys aware of the incompability issue and is there a work-around?&amp;nbsp; Thanks,&lt;/P&gt;</description></item><item><title>does Xceed Compression attempt to hit the Internet at start up?</title><link>http://xceed.com/CS/forums/thread/24801.aspx</link><pubDate>Fri, 06 Nov 2009 16:54:50 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:24801</guid><dc:creator>Alex</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/24801.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=24801</wfw:commentRss><description>&lt;P&gt;we have noticed that our apps running on the regular dev boxes are lightning fast, but in production (with much faster hardware), it takes at least a minute to get past the first Xceed Compression&amp;nbsp;function call.&amp;nbsp;&amp;nbsp; Our production boxes do not have Internet access.&lt;/P&gt;
&lt;P&gt;Is it possible that Xceed libraries attempt to go out to the Internet to check for the latest version perhaps (at initialization time)?&amp;nbsp; Some remote license check?&amp;nbsp;Is there a setting to turn this off?&lt;/P&gt;
&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description></item><item><title>Does Xceed components support .tar.Z files</title><link>http://xceed.com/CS/forums/thread/24704.aspx</link><pubDate>Thu, 29 Oct 2009 15:25:26 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:24704</guid><dc:creator>kulanthaivelu</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/24704.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=24704</wfw:commentRss><description>&lt;div&gt;Hi,&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;I just want to know if the Xceed libraries were able to untar .tra.Z files. Am facing an error when ever I try to untar these file. Any type of help will be appreciated.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;the error I get when I use GZippedFile to untar is&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;-----------------------------------------------------------------------------&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;A GZIP signature was not found where one was expected.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Type: Xceed.FileSystem.DiskFile&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;FullName: C:\Inetpub\grabs\Xceed testgrabs\test.tar.Z&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;---------------------------------------------------------------------------&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;So am again using &amp;nbsp;ZipArchive() but even then am getting the following error.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;-------------------------------------------------------------------------------------------&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;The zip end header signature could not be found in the zip file.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Zip file: C:\Inetpub\grabs\Xceed testgrabs\test.tar.Z&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;------------------------------------------------------------------------------------------&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;thanks,&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;--aravind&amp;nbsp;&lt;/div&gt;</description></item><item><title>unzip with subfolders</title><link>http://xceed.com/CS/forums/thread/24731.aspx</link><pubDate>Sun, 01 Nov 2009 15:27:46 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:24731</guid><dc:creator>dvir</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/24731.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=24731</wfw:commentRss><description>&lt;P&gt;hi&lt;/P&gt;
&lt;P&gt;let say that i have 4 folders under root directory c: as follows&lt;/P&gt;
&lt;P&gt;c:\Folder_1\Folder_2\Folder_3\Folder_4&lt;/P&gt;
&lt;P&gt;if i ask to zip folder_3 with its files and subfolders, the zipping i working fine, but when i unzipping the file it creates the all path incuding &lt;EM&gt;&lt;STRONG&gt;folder_1&lt;/STRONG&gt;&lt;/EM&gt; &lt;STRONG&gt;&lt;EM&gt;and folder_2 &lt;/EM&gt;&lt;/STRONG&gt;which it not needed. what i need to do so the unzipping will create the folders without them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;regards &lt;/P&gt;</description></item><item><title>Encrypt a folder contains subfolders</title><link>http://xceed.com/CS/forums/thread/24629.aspx</link><pubDate>Fri, 23 Oct 2009 07:12:46 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:24629</guid><dc:creator>B</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/24629.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=24629</wfw:commentRss><description>&lt;P&gt;Hi..&lt;/P&gt;
&lt;P&gt;How to Encrypt a folder (contains subfolders and files) in .net?&lt;/P&gt;
&lt;P&gt;Actually I want to Encrypt and zip the folder(contains subfolders and files) and then want to Unzip and Decrypt the Folder(contains subfolders and files).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Thank You.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description></item><item><title>How to get old version of zip .net component (V1.1) and new version of zip .net (V4.1) to run side by side on the same machine?</title><link>http://xceed.com/CS/forums/thread/24435.aspx</link><pubDate>Mon, 12 Oct 2009 20:05:43 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:24435</guid><dc:creator>limchewc</dc:creator><slash:comments>2</slash:comments><comments>http://xceed.com/CS/forums/thread/24435.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=24435</wfw:commentRss><description>&lt;P&gt;Hi, I am in the process of upgrading the xceed zip .net component from V1.1 to V4.1 (which we just get license for it). How do I get both versions running side by side? &lt;/P&gt;
&lt;P&gt;&amp;nbsp;When I kick of the set up, it's requiring me to remove old version to avoid any conflict on my machine. But during rollout, I need to be able to run both versions a the same time and converting the rest of them over 'slowly'. How do I do that ? &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description></item><item><title>error: at Xceed.Zip.ZipHandler.RemoveZipHandler(ZipHandler handler)</title><link>http://xceed.com/CS/forums/thread/24373.aspx</link><pubDate>Thu, 08 Oct 2009 15:59:54 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:24373</guid><dc:creator>allen</dc:creator><slash:comments>1</slash:comments><comments>http://xceed.com/CS/forums/thread/24373.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=17&amp;PostID=24373</wfw:commentRss><description>&lt;P&gt;I am using Xceed.zip version 2.0.116.0.&amp;nbsp; When I run my program, I receive the following error:&lt;/P&gt;&lt;FONT size=1&gt;
&lt;P&gt;Unhandled Exception: System.ArgumentNullException: Value cannot be null.&lt;/P&gt;
&lt;P&gt;Parameter name: handler&lt;/P&gt;
&lt;P&gt;at Xceed.Zip.ZipHandler.RemoveZipHandler(ZipHandler handler)&lt;/P&gt;
&lt;P&gt;at Xceed.Zip.ZippedFolder.Finalize()&lt;/P&gt;
&lt;P&gt;Can anyone tell me what it is and how to fix it?&lt;/P&gt;&lt;/FONT&gt;</description></item></channel></rss>