From:             mnares at cox dot net
Operating system: Windows XP Professional SP 1
PHP version:      4.3.4
PHP Bug Type:     FTP related
Bug description:  ftp_nlist()/ftp_rawlist() not returning files or directories

Description:
------------
This bug has been labelled as closed, but it is still present.

I am trying to employ ftp_nlist() and ftp_rawlist() to retrieve a listing
of files on my FTP server.

Nothing is returned.

Reproduce code:
---------------
info is private :-)

$ftp_server = '65.61.159.xx';
$ftp_user_name = 'xxxxxxxxx';
$ftp_user_pass = 'xxxxxxxxx';
$conn_id = ftp_connect($ftp_server);
$login_result = ftp_login($conn_id, $ftp_user_name, $ftp_user_pass);
$mode = ftp_pasv($conn_id, TRUE);

$file_list = ftp_rawlist($conn_id,'/');

Expected result:
----------------
A listing of the files on the FTP server

Actual result:
--------------
Nothing is returned.

-- 
Edit bug report at http://bugs.php.net/?id=26638&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=26638&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=26638&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=26638&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=26638&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=26638&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=26638&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=26638&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=26638&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=26638&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=26638&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=26638&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=26638&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26638&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=26638&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=26638&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=26638&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26638&r=float

Reply via email to