Home » Networking » Net_FTP » Bug #1938
wrong param-order for get- ond put-method
Details
| 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 |
| Status | Wont fix |
| Package | Net_FTP |
| PHP Version | 4.3.7 |
| OS | Windows 2K |
| Roadmaps | (Not assigned) |
Comments
[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);