<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[GMan's Mods & Stuff — zrObject.ExtractFileToDisk - Unhandled Exception]]></title>
	<link rel="self" href="https://gprogs.com/extern.php?action=feed&amp;tid=421&amp;type=atom" />
	<updated>2010-07-30T19:34:09Z</updated>
	<generator>PunBB</generator>
	<id>https://gprogs.com/viewtopic.php?id=421</id>
		<entry>
			<title type="html"><![CDATA[Re: zrObject.ExtractFileToDisk - Unhandled Exception]]></title>
			<link rel="alternate" href="https://gprogs.com/viewtopic.php?pid=1616#p1616" />
			<content type="html"><![CDATA[<p>I think, I&#039;ll have to live with this then. Thanks for your informations.</p>]]></content>
			<author>
				<name><![CDATA[Grisu]]></name>
				<uri>https://gprogs.com/profile.php?id=264</uri>
			</author>
			<updated>2010-07-30T19:34:09Z</updated>
			<id>https://gprogs.com/viewtopic.php?pid=1616#p1616</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: zrObject.ExtractFileToDisk - Unhandled Exception]]></title>
			<link rel="alternate" href="https://gprogs.com/viewtopic.php?pid=1615#p1615" />
			<content type="html"><![CDATA[<p>you are very welcome <img src="https://gprogs.com/img/smilies/smile.png" width="15" height="15" alt="smile" />&nbsp; happy that someone is getting use from my work!&nbsp; the name issue is probably related to unicode support.&nbsp; ZLib does not use wide chars so it will have issues with unicode characters.</p>]]></content>
			<author>
				<name><![CDATA[gman]]></name>
				<uri>https://gprogs.com/profile.php?id=2</uri>
			</author>
			<updated>2010-07-30T01:32:51Z</updated>
			<id>https://gprogs.com/viewtopic.php?pid=1615#p1615</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: zrObject.ExtractFileToDisk - Unhandled Exception]]></title>
			<link rel="alternate" href="https://gprogs.com/viewtopic.php?pid=1608#p1608" />
			<content type="html"><![CDATA[<p>Thanks for your long time support. Not many people are that dedicated. Works fine so far...</p><p>I recently discovered another smaller issue: When I extract a zip file including other zips with&nbsp; filenames including German umlauts (&quot;ä&quot;,&quot;ö&quot;,&quot;ü&quot;), the names of the extracted files seem to be broken.</p><p>Haven&#039;t come up with a proper example code yet.</p>]]></content>
			<author>
				<name><![CDATA[Grisu]]></name>
				<uri>https://gprogs.com/profile.php?id=264</uri>
			</author>
			<updated>2010-07-29T20:04:04Z</updated>
			<id>https://gprogs.com/viewtopic.php?pid=1608#p1608</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: zrObject.ExtractFileToDisk - Unhandled Exception]]></title>
			<link rel="alternate" href="https://gprogs.com/viewtopic.php?pid=1606#p1606" />
			<content type="html"><![CDATA[<p>greetings <img src="https://gprogs.com/img/smilies/smile.png" width="15" height="15" alt="smile" />&nbsp; glad its all fixed up!&nbsp; i had not implemented setting of the timestamp.&nbsp; i have done so and uploaded a new version.&nbsp; lmk how it works for you <img src="https://gprogs.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[gman]]></name>
				<uri>https://gprogs.com/profile.php?id=2</uri>
			</author>
			<updated>2010-07-28T00:30:48Z</updated>
			<id>https://gprogs.com/viewtopic.php?pid=1606#p1606</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: zrObject.ExtractFileToDisk - Unhandled Exception]]></title>
			<link rel="alternate" href="https://gprogs.com/viewtopic.php?pid=1604#p1604" />
			<content type="html"><![CDATA[<p>Great, seems to work so far. Got to test it more....</p><p>BtW: Is it normal that extraction of a file destroys the &quot;timestamp&quot;?</p>]]></content>
			<author>
				<name><![CDATA[Grisu]]></name>
				<uri>https://gprogs.com/profile.php?id=264</uri>
			</author>
			<updated>2010-07-27T16:58:10Z</updated>
			<id>https://gprogs.com/viewtopic.php?pid=1604#p1604</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: zrObject.ExtractFileToDisk - Unhandled Exception]]></title>
			<link rel="alternate" href="https://gprogs.com/viewtopic.php?pid=1601#p1601" />
			<content type="html"><![CDATA[<p>greetings <img src="https://gprogs.com/img/smilies/smile.png" width="15" height="15" alt="smile" />&nbsp; please download the latest release as it should resolve your issues.&nbsp; for an added ability to detect issues (ie file in use), ExtractFileToDisk now returns true/false based on success.</p>]]></content>
			<author>
				<name><![CDATA[gman]]></name>
				<uri>https://gprogs.com/profile.php?id=2</uri>
			</author>
			<updated>2010-07-27T00:01:45Z</updated>
			<id>https://gprogs.com/viewtopic.php?pid=1601#p1601</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: zrObject.ExtractFileToDisk - Unhandled Exception]]></title>
			<link rel="alternate" href="https://gprogs.com/viewtopic.php?pid=1598#p1598" />
			<content type="html"><![CDATA[<p>greetings <img src="https://gprogs.com/img/smilies/smile.png" width="15" height="15" alt="smile" />&nbsp; i should be able to get to the issues this evening.&nbsp; if you could whip up a running example with zip files included it would be much appreciated.</p>]]></content>
			<author>
				<name><![CDATA[gman]]></name>
				<uri>https://gprogs.com/profile.php?id=2</uri>
			</author>
			<updated>2010-07-26T02:53:22Z</updated>
			<id>https://gprogs.com/viewtopic.php?pid=1598#p1598</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: zrObject.ExtractFileToDisk - Unhandled Exception]]></title>
			<link rel="alternate" href="https://gprogs.com/viewtopic.php?pid=1597#p1597" />
			<content type="html"><![CDATA[<p>A workaround for the crash is to check each file with &quot;openfile(file,false,true)&quot;.<br />If one can&#039;t open them for writing, I skip the extraction of this file.</p><p>Perhaps there&#039;s a more elegant way to solve this issue?</p>]]></content>
			<author>
				<name><![CDATA[Grisu]]></name>
				<uri>https://gprogs.com/profile.php?id=264</uri>
			</author>
			<updated>2010-07-25T20:52:53Z</updated>
			<id>https://gprogs.com/viewtopic.php?pid=1597#p1597</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[zrObject.ExtractFileToDisk - Unhandled Exception]]></title>
			<link rel="alternate" href="https://gprogs.com/viewtopic.php?pid=1595#p1595" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>Function Extract_Zip()

      Local zrObject:ZipReader = New ZipReader
      Local Extracted_file:String
      Local Scr_file:String 

      SetGadgetText(Curr_Msg_Lab,&quot;Extracting File: &quot;)
    
      If ( zrObject.OpenZip(ServerZIPFile) ) Then

      For Local i:Int=1 To zrObject.getFileCount()-1
                 Scr_file:String=zrObject.getFileInfo(i).zipFileName  
                 Extracted_file=Replace(Scr_file,&quot;Pocket Radio Player/&quot;,&quot;&quot;)

           If Extracted_file.find(&quot;.&quot;)&gt;0 Then zrObject.ExtractFileToDisk(Scr_file, Extracted_file, True) &lt;- This one!!

         Next

        zrObject.CloseZip()
    End If
        
End Function</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Grisu]]></name>
				<uri>https://gprogs.com/profile.php?id=264</uri>
			</author>
			<updated>2010-07-24T23:05:22Z</updated>
			<id>https://gprogs.com/viewtopic.php?pid=1595#p1595</id>
		</entry>
</feed>
