diff --git a/src/Filesystem/Command/FilesystemLsCommand.php b/src/Filesystem/Command/FilesystemLsCommand.php
index <HASH>..<HASH> 100755
--- a/src/Filesystem/Command/FilesystemLsCommand.php
+++ b/src/Filesystem/Command/FilesystemLsCommand.php
@@ -119,7 +119,11 @@ class FilesystemLsCommand extends Command
     private function getFileMetadata($filesystem, $path)
     {
         if ('.' !== $path) {
-            $metaData = $filesystem->getMetadata($path);
+            try {
+                $metaData = $filesystem->getMetadata($path);
+            } catch (\Exception $e) {
+                // Do nothing. Assume this is a directory since some filesystems will not return metadata for directories
+            }
         }
 
         if (empty($metaData)) {
Added exception handling for file system which throw an exception when getting metadata for a directory