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)    
Subscription  


 [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: http://php.is/bugs/pear/pear.downloader.path.txt 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)

Comments

 [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 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.