php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5872 The function ftp_cdup does not recognize arguments
Submitted: 2000-07-31 15:23 UTC Modified: 2000-08-29 19:06 UTC
From: broughkim at angelfire dot com Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 4.0.1pl2 OS: Linux/Mandrake
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: broughkim at angelfire dot com
New email:
PHP Version: OS:

 

 [2000-07-31 15:23 UTC] broughkim at angelfire dot com
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-08 08:36 UTC] stas@php.net
Could you please provide short reproducign script for this behaviour (using any public FTP service)?
 [2000-08-29 19:06 UTC] sniper@php.net
No feedback. 
Please try PHP4.0.2 and reopen this bug report if problem still exists and
add a short reproducing script which uses public ftp server.

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 05:01:31 2024 UTC