RE: [PEAR] Net_FTP and rawlist format
| From: | Birgir Stefansson | Date: | Fri, 28 Nov 2003 13:01:06 +0000 |
| Subject: | RE: [PEAR] Net_FTP and rawlist format | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-9203@lists.php.net to get a copy of this message | ||
Connecting to a Wu-ftpd 2.6.2 for Sun. ;)
TIA.
Birgir
> -----Original Message-----
> From: Birgir Stefansson [mailto:bs@hi.is]
> Sent: 28. nóvember 2003 12:57
> To: pear-general@lists.php.net
> Subject: [PEAR] Net_FTP and rawlist format
>
>
> 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
>
> --
> PEAR General Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>