Req #8717 [Ana->Opn]: feature request: have ftp_rawlist add extra params to the LIST command
| From: | tyrael@php.net | Date: | Fri, 16 Sep 2011 21:12:31 +0000 |
| Subject: | Req #8717 [Ana->Opn]: feature request: have ftp_rawlist add extra params to the LIST command | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-163623@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=8717&edit=1
ID: 8717
Updated by: tyrael@php.net
Reported by: anri at gmx dot de
Summary: feature request: have ftp_rawlist add extra params
to the LIST command
-Status: Analyzed
+Status: Open
Type: Feature/Change Request
Package: FTP related
Operating System: *
PHP Version: *
Block user comment: N
Private report: N
New Comment:
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
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
you can pass that via the second argument of ftp_rawlist:
http://php.net/manual/en/function.ftp-rawlist.php#48339
the documentation should mention this
Previous Comments:
------------------------------------------------------------------------
[2003-05-27 10:45:05] 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,
Alan.
------------------------------------------------------------------------
[2003-01-23 09:47:03] 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");
------------------------------------------------------------------------
[2002-04-04 05:48:33] sniper@php.net
Updated the topic and other fields.
------------------------------------------------------------------------
[2001-01-15 12:40:07] 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"
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=8717&edit=1