[Tickets #8096] Download big folders as zip

bugs at horde.org bugs at horde.org
Wed Mar 18 12:45:28 UTC 2009


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/8096
------------------------------------------------------------------------------
  Ticket             | 8096
  Created By         | valerio at dei.unipd.it
  Summary            | Download big folders as zip
  Queue              | IMP
  Version            | 4.3.3
  Type               | Enhancement
  State              | New
  Priority           | 1. Low
  Milestone          |
  Patch              | 1
  Owners             |
+New Attachment     | folders_Folder.patch
------------------------------------------------------------------------------


valerio at dei.unipd.it (2009-03-18 08:45) wrote:

Problem:
When requesting a ZIP of one  "big" mailbox (or many small) PHP may  
exceed max memory limit.
The attached patch uses tempnam() and is based on Ross Becker work:
http://lists.horde.org/archives/imp/Week-of-Mon-20040906/039136.html

Prerequisite: ZipArchive pecl extension

Todo: tmpdir should change with OS default (now is "/tmp") but tempnam  
behaviour is different between php version and OS.






More information about the bugs mailing list