Bug #13214: Request: Tiny patch to allow fast recurisive ftp_rawlist

From: Date: Sat, 08 Sep 2001 19:38:34 +0000
Subject: Bug #13214: Request: Tiny patch to allow fast recurisive ftp_rawlist
Groups: php.dev 
Request: Send a blank email to php-dev+get-65496@lists.php.net to get a copy of this message
From: gray@lowpass.net Operating system: Linux PHP version: 4.0.6 PHP Bug Type: FTP related Bug description: Request: Tiny patch to allow fast recurisive ftp_rawlist I'm not really up to speed with making diffs and contributing myself, otherwise I would. There are many posts in the manual showing various ways to get recursive directory listing with ftp_rawlist, but they're all very slow as they required chdir'ing into each subdirectory.. One tiny change to ext/ftp/ftp.c at line 420 return ftp_genlist(ftp, "LIST", path); changed to return ftp_genlist(ftp, "LIST -R", path); And the FTP daemon at the other end will do all the work. It would be nice to have a more eligant version of that incorperated into a future release. Thanks.. -- Edit bug report at: http://bugs.php.net/?id=13214&edit=1

« previous php.dev (#65496) next »