|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #32848 compress.zlib://ftp:// produces warning
Submitted: 2005-04-27 09:38 UTC Modified: 2005-05-05 01:00 UTC
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: alex at amcms dot org Assigned:
Status: No Feedback Package: Zlib related
PHP Version: 5.0.3 OS: Fedora Core 3
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: alex at amcms dot org
New email:
PHP Version: OS:


 [2005-04-27 09:38 UTC] alex at amcms dot org
When daisy chaining the streams compress.zlib://ftp:// php produces a warning (pasted in the actual result below) when using PHP 5.0.3 on Fedora Core 3

This does not occur when daisy chaining compress.bzip2://ftp:// which seems to send the file across fine.

Note that I can use gzencode and then put the file contents and it works fine, which I can then gunzip perfectly, so it does not appear to be a problem with zlib but something between zlib and ftp daisy chaining???

Reproduce code:
$buffer = "blah blah blah";

file_put_contents("compress.zlib://", $buffer);

// to test bzip2 which does work
//file_put_contents('compress.bzip2://', $buffer);

Expected result:
File should write successfully.

Actual result:
PHP Warning:  file_put_contents(compress.zlib:// [<a href='function.file-put-contents'>function.file-put-contents</a>]: failed to open stream: Operation now in progress in /path/to/tmp.php on line 7


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-04-27 12:43 UTC]
Please try using this CVS snapshot:
For Windows:

 [2005-05-05 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 08:01:30 2024 UTC