From: [EMAIL PROTECTED]
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
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]