Edit report at https://bugs.php.net/bug.php?id=8717&edit=1
ID: 8717 Updated by: tyr...@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] sni...@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