Net_FTP and rawlist format

From: Date: Fri, 28 Nov 2003 12:56:53 +0000
Subject: Net_FTP and rawlist format
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-9202@lists.php.net to get a copy of this message
Hi. I am using Net_FTP to connect to a lukemftp daemon (version 1.5). Rawlist format for Net_FTP is restricted and an exact format is expected. However the rawlist I am receiving when I list files in a directory begins with a 'Total: 1092882' and after that comes the directory listing. I therefor have to modify Net_FTP _list_and_parse() function (adding a array_slice() to cut off the first element) to be able to handle this rawlist format. Is there a way for me to control the format of the rawlist ? Could this be considered as a feature request for Net_FTP to be able to handle different rawlist types ? Regards, Birgir Stefansson

« previous php.pear.general (#9202) next »