|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #8717 feature request: have ftp_rawlist add extra params to the LIST command
Submitted: 2001-01-15 12:40 UTC Modified: 2011-12-04 04:00 UTC
Avg. Score:4.8 ± 0.4
Reproduced:4 of 4 (100.0%)
Same Version:2 (50.0%)
Same OS:2 (50.0%)
From: anri at gmx dot de Assigned: frozenfire (profile)
Status: Closed Package: FTP related
PHP Version: * OS: *
Private report: No CVE-ID: None
 [2001-01-15 12:40 UTC] anri at gmx dot de
ftp_rawlist execs the command "LIST" on the server, an important feature is to make it possible to add command parameters (esp. to list hidden files, etc), like "LIST -al"


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-04 05:48 UTC]
Updated the topic and other fields.

 [2003-01-23 09:47 UTC] jukkaho at mail dot student dot oulu dot fi
A workaround is to add these flags directly to a directory string like:

$results=ftp_rawlist($ftpres,"-la $directory");
 [2003-05-27 10:45 UTC] Alan at alexeysoft dot com
Writen in script :

$fichiers = ftp_rawlist($conn_id, "-la ".${"Dirr".$i}); 
// Get List Dir as Array

Don't work.

Drirectory : (CD) TATU_200_kmh_in_the_wrong_lane
After read by ftp_rawlist coverted to : ) (cd)

Please say me, where error ? or this bug very Big ?

With best regards, 
 [2010-11-19 00:17 UTC]
-Package: Feature/Change Request +Package: FTP related
 [2011-09-16 21:12 UTC]
-Status: Analyzed +Status: Open
 [2011-09-16 21:12 UTC]
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.

you can pass that via the second argument of ftp_rawlist:
the documentation should mention this
 [2011-09-16 21:13 UTC]
-Type: Feature/Change Request +Type: Documentation Problem
 [2011-12-04 03:59 UTC]
Automatic comment from SVN on behalf of frozenfire
Log: Clarifies that arguments to the LIST command may be used in the $directory argument. Finally closes bug #8717.
 [2011-12-04 04:00 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: frozenfire
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Fri Dec 01 06:01:30 2023 UTC