Herzult/php-ssh — pull request #19 by soulii (2013-05-24 14:11:17+00:00)
Title: Check if the URL is a directory before attempting to scan it

I got alot of scandir errors on files. So I changed the code a little to check if it's a directory before attempting to scan it.