php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15231 ftp_rawlist doesn't work when spaces in directory pointed to
Submitted: 2002-01-26 05:06 UTC Modified: 2002-07-17 01:26 UTC
Votes:4
Avg. Score:4.0 ± 1.0
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:2 (100.0%)
From: lithorus at lithorus dot dk Assigned:
Status: Closed Package: FTP related
PHP Version: 4.1.1 OS: Windows XP and Linux
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: lithorus at lithorus dot dk
New email:
PHP Version: OS:

 

 [2002-01-26 05:06 UTC] lithorus at lithorus dot 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).

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-01-26 08:34 UTC] sander@php.net
Does it work if you escape the space with a backslash (\)?
 [2002-01-26 08:41 UTC] lithorus at lithorus dot dk
nope, already tried that.
 [2002-07-10 22:53 UTC] 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-07-16 22:18 UTC] lithorus at lithorus dot dk
Yep, that seemed to do the trick, thx :)
 [2002-07-17 01:26 UTC] sniper@php.net
Okay, let's close this then.

 [2002-10-21 03:59 UTC] person_joachim at hotmail dot com
I guess the link has the latest PHP version?! I have Win XP. I tried to build opening the \win32\php-modules.dsw file in Visual C++, but the compiler missed a file; config.w32.h. Where do I find this file? Or am I doing totally wrong?
 [2014-08-08 15:15 UTC] muhammad dot saleem at purelogics dot net
I am also having the same problem, but no solution found yet!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 11:01:30 2024 UTC