<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[GMan's Mods & Stuff — Directory structure]]></title>
	<link rel="self" href="https://gprogs.com/extern.php?action=feed&amp;tid=420&amp;type=atom" />
	<updated>2010-07-01T02:00:46Z</updated>
	<generator>PunBB</generator>
	<id>https://gprogs.com/viewtopic.php?id=420</id>
		<entry>
			<title type="html"><![CDATA[Re: Directory structure]]></title>
			<link rel="alternate" href="https://gprogs.com/viewtopic.php?pid=1593#p1593" />
			<content type="html"><![CDATA[<p>greetings <img src="https://gprogs.com/img/smilies/smile.png" width="15" height="15" alt="smile" />&nbsp; there is no way to create just a directory insize of the ZIP.&nbsp; directories are created by adding a file to a directory in the zip.&nbsp; please see the AddFileToDest() method in the docs.&nbsp; it will allow you to add a file to the zip using a different destination.&nbsp; so something like:<br /></p><div class="codebox"><pre><code>myzipwriter.AddFileToDest(&quot;myfile.txt&quot;, &quot;mynewpathinside/mysubdirinside/myfile.txt&quot;)</code></pre></div><p>but...&nbsp; in testing to make sure this worked correctly before i posted to you i found a bug.&nbsp; the bug has been resolved and a new mod posted.&nbsp; please download the new mod before using the above.</p>]]></content>
			<author>
				<name><![CDATA[gman]]></name>
				<uri>https://gprogs.com/profile.php?id=2</uri>
			</author>
			<updated>2010-07-01T02:00:46Z</updated>
			<id>https://gprogs.com/viewtopic.php?pid=1593#p1593</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Directory structure]]></title>
			<link rel="alternate" href="https://gprogs.com/viewtopic.php?pid=1590#p1590" />
			<content type="html"><![CDATA[<p>Hi,</p><p>I wrote a function that creates the needed directory structure and extracts all files in a zip.<br />Now i want to add a complete directory, including subdirectorys, to a new empty zip.</p><p>But, how do i create a directory structure inside a new empty zip?</p>]]></content>
			<author>
				<name><![CDATA[Ferret]]></name>
				<uri>https://gprogs.com/profile.php?id=262</uri>
			</author>
			<updated>2010-06-30T14:16:56Z</updated>
			<id>https://gprogs.com/viewtopic.php?pid=1590#p1590</id>
		</entry>
</feed>
