Req #43652 [Opn->Fbk]: zip compression direct output

From: Date: Wed, 18 Mar 2020 13:39:31 +0000
Subject: Req #43652 [Opn->Fbk]: zip compression direct output
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-226156@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=43652&edit=1

 ID:                 43652
 Updated by:         remi@php.net
 Reported by:        goetas at lignano dot it
 Summary:            zip compression direct output
-Status:             Open
+Status:             Feedback
 Type:               Feature/Change Request
 Package:            Zip Related
 Operating System:   *
 PHP Version:        5.6.11
 Block user comment: N
 Private report:     N

 New Comment:

Propose to close as wont fix,

Not doable for now


Previous Comments:
------------------------------------------------------------------------
[2009-03-23 21:19:54] fin dot bub at gmail dot com

Same problem stays in 5.2.9.

------------------------------------------------------------------------
[2007-12-21 14:13:30] pajoye@php.net

Zip streams in write mode are not yet supported. I'm working on a stream abstraction layer for
the underlying library.

------------------------------------------------------------------------
[2007-12-21 13:08:09] goetas at lignano dot it

Description:
------------
trying to create a zip file directly on standard output

Reproduce code:
---------------
$zip = new ZipArchive();
$zip->open("php://output", ZIPARCHIVE::CREATE);
$zip->addFromString("testfile.txt", "This is a test");
$zip->close();

Expected result:
----------------
i expect a zip file sent on standard output

Actual result:
--------------
no output


------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=43652&edit=1


Thread (7 messages)

« previous php.bugs (#226156) next »