<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[GMan's Mods & Stuff — Addfile: Change source and destination dir+filename?]]></title>
		<link>https://gprogs.com/viewtopic.php?id=383</link>
		<atom:link href="https://gprogs.com/extern.php?action=feed&amp;tid=383&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Addfile: Change source and destination dir+filename?.]]></description>
		<lastBuildDate>Wed, 19 Aug 2009 10:59:33 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Addfile: Change source and destination dir+filename?]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=1466#p1466</link>
			<description><![CDATA[<p>memory-wise not really any disadvantages.&nbsp; the method addfile essentially does exactly that underneath.&nbsp; you do lose the datetime stamp of the file though.</p>]]></description>
			<author><![CDATA[null@example.com (gman)]]></author>
			<pubDate>Wed, 19 Aug 2009 10:59:33 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=1466#p1466</guid>
		</item>
		<item>
			<title><![CDATA[Re: Addfile: Change source and destination dir+filename?]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=1464#p1464</link>
			<description><![CDATA[<p>Thanks for your fast answer. <br />Will check that out.</p><p>Are there any disadvantages using streams over a &quot;normal&quot; file creation?<br />The stream should be faster, but use more memory?</p>]]></description>
			<author><![CDATA[null@example.com (Grisu)]]></author>
			<pubDate>Wed, 19 Aug 2009 07:19:29 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=1464#p1464</guid>
		</item>
		<item>
			<title><![CDATA[Re: Addfile: Change source and destination dir+filename?]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=1462#p1462</link>
			<description><![CDATA[<p>greetings <img src="https://gprogs.com/img/smilies/smile.png" width="15" height="15" alt="smile" />&nbsp; that is a great idea and i will get that added.&nbsp; in the meantime you can use the AddStream method instead:<br /></p><div class="codebox"><pre><code>zwObject.OpenZip(&quot;testfile.zip&quot;, False) )
Local fileStream:TStream = OpenFile( &quot;Source\station.txt&quot; )
zwObject.AddStream(fileStream, &quot;ZipDir\stationzip.txt, password)
zwObject.CloseZip()</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (gman)]]></author>
			<pubDate>Wed, 19 Aug 2009 01:00:55 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=1462#p1462</guid>
		</item>
		<item>
			<title><![CDATA[Addfile: Change source and destination dir+filename?]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=1461#p1461</link>
			<description><![CDATA[<p>Hello!</p><p>Is it possible to change the source and destination dir+filename when creating a zip?</p><p>Somewhat like that:</p><p>zwObject.OpenZip(&quot;testfile.zip&quot;, False) )<br />zwObject.AddFile(&quot;Source\station.txt&quot;, &quot;ZipDir\stationzip.txt, password)<br />zwObject.CloseZip()</p><p>Thanks.<br />Grisu</p>]]></description>
			<author><![CDATA[null@example.com (Grisu)]]></author>
			<pubDate>Tue, 18 Aug 2009 21:50:38 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=1461#p1461</guid>
		</item>
	</channel>
</rss>
