ID: 25347 User updated by: spam at come dot no-ip dot com Reported By: spam at come dot no-ip dot com -Status: Feedback +Status: Open Bug Type: FTP related Operating System: Windows XP Pro PHP Version: 4.3.3 New Comment:
yes, I'm sure that its connecting, because in the script above I used public ftp server just that others could check it out, but I checked in on my local ftp server and I could check its logs as well. in my php.ini error logs set to show ALL (display and in log file) nothing showing in apache logs either. I ment it shows "nothing" that it doesnt show anything from the ftp_rawlist() result ;) P.S. here is what I get in my BulletProofFTP v2.21: ************************************************** (000015) 9/1/2003 6:07:27 PM - (not logged in) (192.168.1.3) > connected to ip : 192.168.1.3, hostname : server (000015) 9/1/2003 6:07:27 PM - (not logged in) (192.168.1.3) > sending welcome message. (000015) 9/1/2003 6:07:27 PM - (not logged in) (192.168.1.3) > 220 [EMAIL PROTECTED] (000015) 9/1/2003 6:07:27 PM - (not logged in) (192.168.1.3) > USER vano (000015) 9/1/2003 6:07:27 PM - (not logged in) (192.168.1.3) > 331 Password required for vano. (000015) 9/1/2003 6:07:27 PM - (not logged in) (192.168.1.3) > PASS **** (000015) 9/1/2003 6:07:27 PM - vano (192.168.1.3) > logged in. (000015) 9/1/2003 6:07:29 PM - vano (192.168.1.3) > 230 User vano logged in. (000015) 9/1/2003 6:07:29 PM - vano (192.168.1.3) > CWD / (000015) 9/1/2003 6:07:29 PM - vano (192.168.1.3) > asked to change directory : 'F:\ -> F:\' --> Access allowed. (000015) 9/1/2003 6:07:29 PM - vano (192.168.1.3) > 250 CWD command successful. "/" is current directory. (000015) 9/1/2003 6:07:29 PM - vano (192.168.1.3) > QUIT (000015) 9/1/2003 6:07:29 PM - vano (192.168.1.3) > 221 Bye bye ... (000015) 9/1/2003 6:07:29 PM - vano (192.168.1.3) > disconnected. (00:00:01) ****************************************** all this is what ftp_login() function sends, and no requests where received from ftp_rawlist() nor ftp_nlist() functions. Previous Comments: ------------------------------------------------------------------------ [2003-09-01 17:52:34] [EMAIL PROTECTED] Actual result can not really be 'nothing' since you output stuff in the script. Are you sure it's not actually crashing? (check the apache logs) And/or does it actually connect? (you don't check that) Add 'error_reporting(E_ALL);' in top of your script. And check your phpinfo() output that "display_errors" php.ini setting is 'On'. ------------------------------------------------------------------------ [2003-09-01 16:26:56] spam at come dot no-ip dot com Description: ------------ I know there are atleast few bug submittions but they are closed while the problem is still remain. I run Apache2 as "apache" user that is member of "USERS" group. ftp_rawlist() function returns nothing. I've checked my FTP logs and all I can see that PHP logs into FTP server and does not sends LIST command. Windows XP Pro on NTFS + Apache2 + PHP4.3.3 as SAPI module Reproduce code: --------------- <?php $conn = ftp_connect("ftp.symantec.com"); ftp_login($conn,"anonymous","[EMAIL PROTECTED]"); $nlist = ftp_nlist($conn, ""); $rawlist = ftp_rawlist($conn, ""); echo "<pre>"; echo "Values from ftp_nlist()<BR>"; print_r($nlist); echo "Values from ftp_rawlist()<BR>"; print_r($rawlist); echo "</pre>"; ?> Expected result: ---------------- List of the dirs Actual result: -------------- nothing ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=25347&edit=1