#22052 [Asn->Fbk]: Ftp ftp_rawlist,ftp_nlist broken

From: Date: Wed, 19 Feb 2003 16:00:00 +0000
Subject: #22052 [Asn->Fbk]: Ftp ftp_rawlist,ftp_nlist broken
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-33566@lists.php.net to get a copy of this message
ID: 22052 Updated by: pollita@php.net Reported By: ntrujillo at cox dot net -Status: Assigned +Status: Feedback Bug Type: FTP related Operating System: FreeBSD 5.0-RELEASE #0 PHP Version: 4.3.1-dev Assigned To: pollita New Comment: One more piece of feedback.... What httpd server (and version) are you running against and is PHP compiled statically or as a dynamic module? What does your configure line look like? Previous Comments: ------------------------------------------------------------------------ [2003-02-15 00:07:40] pollita@php.net So after browsing via httpd there was absolutely nothing in /etc/22052.log ? And only after running via CLI did items appear? The log results I'm seeing suggest there was a segfault (or other failure to complete) during the second call (the NLST command was sent but no successful response was received) and several immediate failures at the end. I think in order to fully diagnose this I'll have to install FreeBSD 5.0 locally so that I can run deeper tests myself. This means the fix won't make it into 4.3.1, but it should be ready well before 4.3.2 and you can pick it up in a snapshot at any time after I find and fix the problem. ------------------------------------------------------------------------ [2003-02-14 20:16:53] ntrujillo at cox dot net pollita, I patched the file and recompiled. The simple script you gave me returned 0 results in web mode.(via httpd).A more complex script in Cli mode actually produced the best results (lengthy): http://www.kelvinbeats.com/pollita/ <? $fFp=ftp_connect("ahost.withalot.ofdirs"); ftp_login($fFp,'user','pw'); print_r(ftp_rawlist($fFp,'/'); ftp_close($fFp); ?> ------------------------------------------------------------------------ [2003-02-14 11:27:24] ntrujillo at cox dot net still broken using php4-STABLE-200302141630.tar.bz2 (the latest snap). ------------------------------------------------------------------------ [2003-02-13 20:11:07] ntrujillo at cox dot net excellent, expect some results by 9:00am PMT. ------------------------------------------------------------------------ [2003-02-13 20:09:16] pollita@php.net Okay, great... I believe I've got the problem nailed down, I just need the results of using that updated snapshot to be 100% certain. In the meantime I'll start putting together the patch and with luck this should be working by this time tomorrow. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/22052 -- Edit this bug report at http://bugs.php.net/?id=22052&edit=1

« previous php.bugs (#33566) next »