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

Request #13104 connect() <> $this->handle in login()
Submitted: 2008-02-12 12:07 UTC
From: till Assigned: jorrit
Status: Closed Package: Net_FTP (version 1.3.5)
PHP Version: 5.2.4 OS:
Roadmaps: 1.4.0a2    
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 : 34 + 26 = ?

 [2008-02-12 12:07 UTC] till (Till Klampaeckel)
Description: ------------ I think it would be nice (to have) if the $handle in login() would be checked, and a connect would be used if the $handle is not set. Would make it a bit more elegant and allow people to connect right away. Thanks for considering it. Test script: --------------- $ftp = new Net_FTP('host', 21); $ftp->login('foo', 'bar');


 [2008-04-22 21:23 UTC] jorrit (Jorrit Schippers)
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.