Bug #15231 Updated: ftp_rawlist doesn't work when spaces in directory pointed to
| From: | lithorus at lithorus dot dk | Date: | Wed, 17 Jul 2002 02:18:06 +0000 |
| Subject: | Bug #15231 Updated: ftp_rawlist doesn't work when spaces in directory pointed to | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-14357@lists.php.net to get a copy of this message | ||
ID: 15231
Updated by: lithorus@lithorus.dk
Reported By: lithorus@lithorus.dk
-Status: Feedback
+Status: Open
Bug Type: FTP related
Operating System: Windows XP and Linux
PHP Version: 4.1.1
New Comment:
Yep, that seemed to do the trick, thx :)
Previous Comments:
------------------------------------------------------------------------
[2002-07-10 22:53:43] sniper@php.net
Please try this snapshot:
http://snaps.php.net/php4-latest.tar.gz
Make sure the id in ext/ftp/ftp.c is this:
/* $Id: ftp.c,v 1.51 2002/07/11 02:48:00 sniper Exp $ */
If it's under 1.51, you need to either grab the sources
from CVS or wait for new snapshot to be generated.
------------------------------------------------------------------------
[2002-01-26 08:41:49] lithorus@lithorus.dk
nope, already tried that.
------------------------------------------------------------------------
[2002-01-26 08:34:17] sander@php.net
Does it work if you escape the space with a backslash (\)?
------------------------------------------------------------------------
[2002-01-26 05:06:57] lithorus@lithorus.dk
I'm using the ftp_rawlist() to make an index of ftp's but this doesn't
work windows(dos) list type ftp's (works fine on unix list type):
$list = ftp_rawlist($conn_id, "/foo bar");
echo $list[1];
Same thing for the ftp_nlist.
I have tried this in both the linux and win32 version of php.
I know it has been reported before, but I haven't seen any of the
reports mentioning that it only occurs on SYSTYPE Windows, that's why I
report it (again).
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15231&edit=1