<?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>Search results matching tag 'Xceed Zip'</title><link>http://xceed.com/CS/search/SearchResults.aspx?o=DateDescending&amp;tag=Xceed+Zip&amp;orTags=0</link><description>Search results matching tag 'Xceed Zip'</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP2 (Debug Build: 61120.2)</generator><item><title>Extracting a tar.gz file problems</title><link>http://xceed.com/CS/forums/post/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><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>Estimate the expected compression rate</title><link>http://xceed.com/CS/forums/post/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><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>Re: Exception in Xceed.Zip.AesEncryptionStream.Dispose()</title><link>http://xceed.com/CS/forums/post/30154.aspx</link><pubDate>Wed, 13 Apr 2011 15:41:50 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:30154</guid><dc:creator>Bruce</dc:creator><description>&lt;P&gt;Has this issue been found or resolved?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I have a zip file with a .pdf in it that will not unzip. I have tested it with WinZip 15.0, LZMa, and a encryption password.&amp;nbsp;It works fine in WinZip 15.0.&lt;BR&gt;I can unzip the file if no password, but once I have a password of any length then I get the exception.&lt;/P&gt;
&lt;P&gt;The calculated authentication value does not match the reported value.&lt;BR&gt;Type: Xceed.Zip.ZipArchive&lt;BR&gt;FullName: \&lt;BR&gt;&amp;nbsp;&amp;nbsp; at Xceed.FileSystem.AbstractFolder.CopyFilesTo(FileSystemEvents events, Object userData, AbstractFolder destinationFolder, Boolean recursive, Boolean replaceExistingFiles, Object[] filters)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at Xceed.FileSystem.AbstractFolder.CopyFilesTo(AbstractFolder destinationFolder, Boolean recursive, Boolean replaceExistingFiles, Object[] filters)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at EagleTM.WINGS.Utility.WingsZipFile.WingsZipFile.UnZipFiles(String sourceZipFileName, String destinationFolderPath, String includeFileFilter) in C:\Wings70\Utility\EagleTM.WINGS.Utility.WingsZipFile\WingsZipFile.cs:line 533&lt;/P&gt;
&lt;P&gt;Below is how I construct the zipArchive object.&amp;nbsp;&lt;/P&gt;&lt;FONT size=4 face=Consolas&gt;&lt;FONT size=4 face=Consolas&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=4 face=Consolas&gt;&lt;FONT color=#0000ff size=4 face=Consolas&gt;&lt;FONT color=#0000ff size=4 face=Consolas&gt;var&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=4 face=Consolas&gt;&lt;FONT size=4 face=Consolas&gt; zipArchiveFile = &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=4 face=Consolas&gt;&lt;FONT color=#0000ff size=4 face=Consolas&gt;&lt;FONT color=#0000ff size=4 face=Consolas&gt;new&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=4 face=Consolas&gt;&lt;FONT size=4 face=Consolas&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#2b91af size=4 face=Consolas&gt;&lt;FONT color=#2b91af size=4 face=Consolas&gt;&lt;FONT color=#2b91af size=4 face=Consolas&gt;ZipArchive&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=4 face=Consolas&gt;&lt;FONT size=4 face=Consolas&gt;(abstractZipFile)&lt;/P&gt;
&lt;P&gt;{&amp;nbsp;&amp;nbsp; DefaultEncryptionMethod = WingsZipFileEncryptionMethod,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DefaultCompressionLevel = WingsZipFileCompressionLevel,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DefaultCompressionMethod = WingsZipFileCompressionMethod,&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=4 face=Consolas&gt;&lt;FONT size=4 face=Consolas&gt;
&lt;P&gt;};&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=4 face=Consolas&gt;&lt;FONT color=#008000 size=4 face=Consolas&gt;&lt;FONT color=#008000 size=4 face=Consolas&gt;// Set Passwords use Defaults is set to true.&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=4 face=Consolas&gt;&lt;FONT size=4 face=Consolas&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=4 face=Consolas&gt;&lt;FONT color=#0000ff size=4 face=Consolas&gt;&lt;FONT color=#0000ff size=4 face=Consolas&gt;if&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=4 face=Consolas&gt;&lt;FONT size=4 face=Consolas&gt; (UseDefaultEncryptionPhrase)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; zipArchiveFile.DefaultEncryptionPassword = "test";&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=4 face=Consolas&gt;&lt;FONT size=4 face=Consolas&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=4 face=Consolas&gt;&lt;FONT color=#0000ff size=4 face=Consolas&gt;&lt;FONT color=#0000ff size=4 face=Consolas&gt;if&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=4 face=Consolas&gt;&lt;FONT size=4 face=Consolas&gt; (UseDefaultDecryptionPhrase)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; zipArchiveFile.DefaultDecryptionPassword = "test";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;P&gt;Below is how I unzip the files in the zip file.&amp;nbsp; fileSearchParameters is a NameFilter[]&amp;nbsp;of "*.*"&lt;/P&gt;&lt;FONT size=4 face=Consolas&gt;&lt;FONT size=4 face=Consolas&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=4 face=Consolas&gt;&lt;FONT color=#0000ff size=4 face=Consolas&gt;&lt;FONT color=#0000ff size=4 face=Consolas&gt;try &lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=4 face=Consolas&gt;&lt;FONT size=4 face=Consolas&gt;{&amp;nbsp;zipArchiveFile.CopyFilesTo(destinationDiskFolder, &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=4 face=Consolas&gt;&lt;FONT color=#0000ff size=4 face=Consolas&gt;&lt;FONT color=#0000ff size=4 face=Consolas&gt;true&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=4 face=Consolas&gt;&lt;FONT size=4 face=Consolas&gt;, &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=4 face=Consolas&gt;&lt;FONT color=#0000ff size=4 face=Consolas&gt;&lt;FONT color=#0000ff size=4 face=Consolas&gt;true&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=4 face=Consolas&gt;&lt;FONT size=4 face=Consolas&gt;,&amp;nbsp;&amp;nbsp;&lt;FONT size=4 face=Consolas&gt;&lt;FONT size=4 face=Consolas&gt;&lt;FONT size=4 face=Consolas&gt;&lt;FONT size=4 face=Consolas&gt;&lt;/P&gt;
&lt;P&gt;fileSearchParameters &lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;); }&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=4 face=Consolas&gt;&lt;FONT color=#0000ff size=4 face=Consolas&gt;&lt;FONT color=#0000ff size=4 face=Consolas&gt;catch&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=4 face=Consolas&gt;&lt;FONT size=4 face=Consolas&gt; (&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#2b91af size=4 face=Consolas&gt;&lt;FONT color=#2b91af size=4 face=Consolas&gt;&lt;FONT color=#2b91af size=4 face=Consolas&gt;Exception&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=4 face=Consolas&gt;&lt;FONT size=4 face=Consolas&gt; extractZipFileException){&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=4 face=Consolas&gt;&lt;FONT color=#0000ff size=4 face=Consolas&gt;&lt;FONT color=#0000ff size=4 face=Consolas&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; throw&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=4 face=Consolas&gt;&lt;FONT size=4 face=Consolas&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=4 face=Consolas&gt;&lt;FONT color=#0000ff size=4 face=Consolas&gt;&lt;FONT color=#0000ff size=4 face=Consolas&gt;new&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=4 face=Consolas&gt;&lt;FONT size=4 face=Consolas&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#2b91af size=4 face=Consolas&gt;&lt;FONT color=#2b91af size=4 face=Consolas&gt;&lt;FONT color=#2b91af size=4 face=Consolas&gt;ZipIOException&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=4 face=Consolas&gt;&lt;FONT size=4 face=Consolas&gt;(zipArchiveFile.ZipFile,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; extractZipFileException.InnerException);&amp;nbsp; }&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=4 face=Consolas&gt;&lt;FONT size=4 face=Consolas&gt;&lt;/FONT&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=4 face=Consolas&gt;&lt;FONT size=4 face=Consolas&gt;&amp;nbsp;&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&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/post/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><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>Zip Writer not disposing inner stream</title><link>http://xceed.com/CS/forums/post/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><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>Pass-through zip decompression</title><link>http://xceed.com/CS/forums/post/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><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/post/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><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>Zipping is not synchronous?</title><link>http://xceed.com/CS/forums/post/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><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>AES-256 supported in Xceed Zip?</title><link>http://xceed.com/CS/forums/post/24012.aspx</link><pubDate>Thu, 17 Sep 2009 11:56:32 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:24012</guid><dc:creator>Okash</dc:creator><description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Does Xceed Zip for .NET library support AES-256 encryption?&amp;nbsp;The KB article &lt;A class="" title="What type of encryption does Xceed Zip use/support?" href="http://xceed.com/KB/questions.php?questionid=53" target=_blank&gt;What type of encryption does Xceed Zip use/support?&lt;/A&gt;&amp;nbsp;says "Xceed Zip for .NET will support AES encryption in the May 2006 release." in the end.&lt;/P&gt;
&lt;P&gt;Many thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Okash&lt;/P&gt;</description></item></channel></rss>