diff --git a/library/ftp.php b/library/ftp.php index 56e4c2a..e2472f7 100644 --- a/library/ftp.php +++ b/library/ftp.php @@ -84,6 +84,11 @@ class Ftp { return false; } + public function list(string $path) { + + return ftp_nlist($this->_connection, $path); + } + public function close() { return ftp_close($this->_connection);