| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             [2003-09-24 06:22 UTC] sniper@php.net
  [2003-09-24 13:32 UTC] pollita@php.net
  [2003-09-29 05:55 UTC] sniper@php.net
  | 
    |||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 09:00:01 2025 UTC | 
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.