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

Request #1938 wrong param-order for get- ond put-method
Submitted: 2004-07-21 13:55 UTC
From: joerg dot schoppet at web dot de Assigned:
Status: Wont fix Package: Net_FTP
PHP Version: 4.3.7 OS: Windows 2K
Roadmaps: (Not assigned)    
Subscription  
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:
MUST BE VALID
Solve the problem : 49 - 44 = ?

 
 [2004-07-21 13:55 UTC] joerg dot schoppet at web dot de
Description: ------------ Hi, why do you changed the order for the parameters in your get- and put-method? Your method: NET_FTP::get($remote, $local); Standard php-methods: ftp_get($local, $remote); ftp_nb_get($local, $remote); Your method: NET_FTP::put($local, $remote); Standard php-methods: ftp_put($remote, $local) ftp_nb_put($remote, local); This doesn't make sense IMHO, only to produce more errors. Kind Regards Joerg Schoppet Expected result: ---------------- NET_FTP::get($local, $remote); NET_FTP::put($remote, $local);

Comments

 [2004-07-26 11:35 UTC] toby
This was a very early design mistake, which cannot be fixed in the current major version, since BC has to be maintained.