PHP 4.0 Bug #5872: The function ftp_cdup does not recognize arguments
| From: | broughkim at angelfire dot com | Date: | Mon, 31 Jul 2000 13:23:53 +0000 |
| Subject: | PHP 4.0 Bug #5872: The function ftp_cdup does not recognize arguments | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-27049@lists.php.net to get a copy of this message | ||
From: broughkim@angelfire.com
Operating system: Linux/Mandrake
PHP version: 4.0.1pl2
PHP Bug Type: Misbehaving function
Bug description: The function ftp_cdup does not recognize arguments
Yes I have compiled with 'enable-ftp'. All of my other ftp functions work appropriately.
When using ftp_cdup, even though the documentation states 'ftp_cdup(int ftp_stream),' an
argument is not needed. If an argument is passed it will not be used by the function. Instead,
the function does a ftp_cdup for all open ftp connections, this is not good when you want have two
connections open simultaneously with possibly different directories. In addition, this function
changes to the ftp servers default ftp directory only. If help is needed in correcting this bug I
would have no problem offering my services. If you find that I am wrong, there is no bug, and I am
just a simpleton, please let me know and I apologize for wasting your time.