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

Request #8617 pear download prints -1 bytes "on error"
Submitted: 2006-09-02 10:06 UTC
From: bjori Assigned: pajoye
Status: Closed Package: PEAR (version CVS)
PHP Version: 5_2 CVS-2006-09-02 OS: FreeBSD
Roadmaps: (Not assigned)    
Comments Add Comment Add patch

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:
Solve the problem : 18 + 43 = ?

 [2006-09-02 10:06 UTC] bjori (Hannes Magnusson)
Description: ------------ Currently `pear download` print "-1 bytes" if there is no "content-length" header recieved. I'd like to suggest changing it to "size unkown".. Patch: Test script: --------------- pear download mdb2 Expected result: ---------------- downloading MDB-1.3.0.tar ... Starting to download MDB-1.3.0.tar (Size unknown) Actual result: -------------- downloading MDB-1.3.0.tar ... Starting to download MDB-1.3.0.tar (-1 bytes)


 [2006-09-02 22:18 UTC] pajoye (Pierre-Alain Joye)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on by the end of next Sunday (CET). If this was a problem with the 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.