Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.0.2

Bug #14088 fopen mode 'w' should truncate file
Submitted: 2008-06-06 06:38 UTC
From: kawai Assigned: hholzgra
Status: Closed Package: HTTP_WebDAV_Client (version CVS)
PHP Version: 5.2.6 OS:
Roadmaps: (Not assigned)    
Subscription  


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 38 - 9 = ?

 
 [2008-06-06 06:38 UTC] kawai (Hiroaki Kawai)
Description: ------------ stream_open with mode 'w' cause HTTP PUT request. PUT request should be set the file length 0. Test script: --------------- require_once('HTTP/WebDAV/Client.php'); $data="hello world"; file_put_contents('webdav://example.jp/dav/test.txt',$data);

Comments

 [2008-06-12 10:41 UTC] hholzgra (Hartmut Holzgraefe)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.