ID: 25641 Updated by: [EMAIL PROTECTED] Reported By: sentomas at hotmail dot com -Status: Open +Status: Feedback Bug Type: FTP related Operating System: FreeBSD PHP Version: 4.3.3 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Previous Comments: ------------------------------------------------------------------------ [2003-09-24 05:42:17] sentomas at hotmail dot com Description: ------------ if the ftp list so long that can retrive in 60sec, the ftp_rawlist() automaticly fail. I re-set FTP timeout and default_socket timeout and of cause use commandline mode , but it didnt seems to work. Reproduce code: --------------- //-lR option in order to make ftp server reply whole dir list, which might be very very long, so its take time more than 60 sec. $dirlist = ftp_rawlist($conn_id, "-lR"); if ($dirlist === false){ //defintely fail whatever you do after 60sec //commandline mode return "fail"; } Expected result: ---------------- might be some kind of "default_socket_timeout" limit in inter-core? because i saw the ftp.c will write to the list tmpfile first then output to array. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=25641&edit=1