<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>nerdboy.co.uk &#187; zip</title>
	<atom:link href="http://www.nerdboy.co.uk/tag/zip/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nerdboy.co.uk</link>
	<description>nerdboy blog - web development stuff</description>
	<lastBuildDate>Thu, 03 Jun 2010 10:17:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Lo-Fi unzipping functionality for .net</title>
		<link>http://www.nerdboy.co.uk/2008/10/lo-fi-unzipping-functionality-for-net/</link>
		<comments>http://www.nerdboy.co.uk/2008/10/lo-fi-unzipping-functionality-for-net/#comments</comments>
		<pubDate>Thu, 02 Oct 2008 13:10:23 +0000</pubDate>
		<dc:creator>nerdboy</dc:creator>
				<category><![CDATA[asp.net]]></category>
		<category><![CDATA[zip]]></category>

		<guid isPermaLink="false">http://www.nerdboy.co.uk/?p=14</guid>
		<description><![CDATA[I&#8217;ve looked for unzipping functionality for .net a couple of times over the years and never found a totally satifactory solution. In a recent project I had to grab an attachment from a POP box and then unzip the attachment. I found an unzipping product called 7zip, it&#8217;s open source and there&#8217;s a command line [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve looked for unzipping functionality for .net a couple of times over the years and never found a totally satifactory solution.</p>
<p>In a recent project I had to grab an attachment from a POP box and then unzip the attachment.</p>
<p>I found an unzipping product called 7zip, it&#8217;s open source and there&#8217;s a command line version.  See their downloads page for the commandline version - http://www.7-zip.org/download.html</p>
<p>Once you have this exe on your server you can easily unzip a file using the following code:</p>
<pre lang="vbnet">dim pathToZip as string = "c:\some\folder\file.zip"
Dim p As Process = Process.Start("C:\Program Files\7Zip\7za.exe", "e " &amp; pathToZip &amp; " -oc:\")
p.WaitForExit()</pre>
<p>Obviously you are not limited to just unzipping, you can do anything the command line version does: zip, password protect a zip file, list the contents, etc</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nerdboy.co.uk/2008/10/lo-fi-unzipping-functionality-for-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
