[eluser]Pascal Kriete[/eluser]
I don't think there is. You could use the directory helper's directory_map function instead. That would leave you with files and directories, so you would have to filter out the directories:
Code:
$this->load->helper('directory');
$dir = './downloads/';
$map = directory_map($dir, TRUE);
foreach($map as $file)
{
if( ! @is_dir($dir.$file)
{
echo $file;
}
}
Hope that helps.