php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25625 ftp_*list cant retrive ftp list on some ftpd
Submitted: 2003-09-22 06:22 UTC Modified: 2003-09-22 06:56 UTC
From: sentomas at hotmail dot com Assigned:
Status: Closed Package: FTP related
PHP Version: 4.3.3 OS: freebad
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: sentomas at hotmail dot com
New email:
PHP Version: OS:

 

 [2003-09-22 06:22 UTC] sentomas at hotmail dot com
Description:
------------
I have found a bug on page ref.ftp.html
[chm date: 2003-09-06]...

ftp_nlist() and ftp_rawlist cant retrive ftp list on some ftpd (titan etc). These function return null array in these ftpd.

may because these ftpd return some info before the content of dir list.
here is ftp client info:
.
.
ftp> ls -la
227 Entering Passive Mode (xx,xxx,73,245,18,54).
150 File status okay; about to open data connection.
total 8
drwxrwx--- 1 owner group        512 Aug 06 10:46 .
drwxrwx--- 1 owner group        512 Aug 06 10:46 ..
.
.
drwxrwx--- 1 owner group        512 Sep 10 21:27 Temp
.
.
.
226 Closing data connection. Transferred 462 bytes.

Expected result:
----------------
null return

Actual result:
--------------
should be:

drwxrwx--- 1 owner group        512 Aug 06 10:46 .
drwxrwx--- 1 owner group        512 Aug 06 10:46 ..
.
.
drwxrwx--- 1 owner group        512 Sep 10 21:27 Temp
.
.
.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-09-22 06:56 UTC] sniper@php.net
On second read..I think this is actually fixed in latest stable CVS. So try the latest STABLE snapshot from http://snaps.php.net and reopen if it doesn't work.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 29 20:01:30 2024 UTC