<p dir="ltr">Do we still use the old zip library, or the native php stuff.<br>
Native php might be better? Or another class?</p>
<div class="gmail_quote">On 1 May 2014 08:37, "Smith, John" <<a href="mailto:J.J.Smith@gcu.ac.uk">J.J.Smith@gcu.ac.uk</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
All i know Dave is that, with the commented code uncommented, my system couldn't download a 56Mb an 79Mb zip but with this code 79Mb came down no problem.<br>
<br>
We may have to use what we have access to on different systems. There may be a similar way to pipe the result into windows or we fall back to the old code and crank the memory requirements up yo 300Mb which not everyone can most likely do anyway...<br>

<br>
Regards<br>
<br>
John Smith<br>
Learning Technologist<br>
School of Health and Life Sciences<br>
<br>
Sent from Samsung Galaxy SII<br>
<br>
<br>
<br>
David Goodwin <<a href="mailto:david@palepurple.co.uk">david@palepurple.co.uk</a>> wrote:<br>
<br>
<br>
<br>
<snip><br>
Uses the unix command zip and pipes the stream back into PHP in 8192 chunks<br>
<br>
<snip><br>
Also, might not work on Windows...<br>
<br>
So therefore it's not worth using?<br>
<br>
<br>
Technically there is no benefit to doing the fread(....) over a fpassthru(...)<br>
fpassthru does something like 8192 chunks internally.<br>
<br>
<br>
David.<br>
<br>
--<br>
--<br>
Pale Purple Ltd<br>
<a href="http://www.palepurple.co.uk" target="_blank">http://www.palepurple.co.uk</a> @PalePurpleLtd<br>
0845 0046746 / 07792 380669<br>
"Bespoke web and mobile application development"<br>
<br>
<br>
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.<br>

<br>
This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.<br>

<br>
<br>
Glasgow Caledonian University is a registered Scottish charity, number SC021474<br>
<br>
_______________________________________________<br>
Xerte-dev mailing list<br>
<a href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a><br>
<a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a><br>
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.<br>

<br>
This message has been checked for viruses but the contents of an attachment<br>
may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.<br>

<br>
<br>
<br>
<br>
</blockquote></div>