#8717 [Com]: feature request: have ftp_rawlist add extra params to the LIST command

From: Date: Mon, 20 Mar 2006 05:08:23 +0000
Subject: #8717 [Com]: 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-94607@lists.php.net to get a copy of this message
ID: 8717 Comment by: nong11yjyygy at yahoo dot com Reported By: anri at gmx dot de Status: Analyzed Bug Type: Feature/Change Request Operating System: * PHP Version: * New Comment: very good http://www.11nong.com 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 http://bugs.php.net/?id=8717&edit=1

« previous php.bugs (#94607) next »